diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-16 12:07:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-16 12:07:03 +0200 |
commit | 0a95a3e57d152f154af5d07d537e0c99b374a20f (patch) | |
tree | 6f4df0401292122c85fd1c9faeb28e3c4e8da1d6 /odb/shared-ptr.hxx | |
parent | c56f32eb5e0b88ef8297a691f5286ba4aa4aa8b4 (diff) |
Make use of const style consistent
Diffstat (limited to 'odb/shared-ptr.hxx')
-rw-r--r-- | odb/shared-ptr.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/shared-ptr.hxx b/odb/shared-ptr.hxx index 7290a00..f6096f7 100644 --- a/odb/shared-ptr.hxx +++ b/odb/shared-ptr.hxx @@ -28,7 +28,7 @@ namespace odb { } - shared_ptr (shared_ptr const& x) + shared_ptr (const shared_ptr& x) : base (x), x_ (x.x_) { if (x_ != 0) @@ -36,7 +36,7 @@ namespace odb } template <typename Y> - shared_ptr (shared_ptr<Y> const& x) + shared_ptr (const shared_ptr<Y>& x) : base (x), x_ (x.x_) { if (x_ != 0) @@ -44,7 +44,7 @@ namespace odb } shared_ptr& - operator= (shared_ptr const& x) + operator= (const shared_ptr& x) { if (x_ != x.x_) { @@ -63,7 +63,7 @@ namespace odb template <typename Y> shared_ptr& - operator= (shared_ptr<Y> const& x) + operator= (const shared_ptr<Y>& x) { if (x_ != x.x_) { |