From 0a95a3e57d152f154af5d07d537e0c99b374a20f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Aug 2010 12:07:03 +0200 Subject: Make use of const style consistent --- odb/shared-ptr.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'odb/shared-ptr.hxx') 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 - shared_ptr (shared_ptr const& x) + shared_ptr (const shared_ptr& 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 shared_ptr& - operator= (shared_ptr const& x) + operator= (const shared_ptr& x) { if (x_ != x.x_) { -- cgit v1.1