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/base.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'odb/shared-ptr/base.hxx') diff --git a/odb/shared-ptr/base.hxx b/odb/shared-ptr/base.hxx index 8c1b62b..6fdc32e 100644 --- a/odb/shared-ptr/base.hxx +++ b/odb/shared-ptr/base.hxx @@ -39,16 +39,16 @@ namespace odb { struct not_shared: exception { - virtual char const* + virtual const char* what () const throw (); }; struct shared_base { shared_base (); - shared_base (shared_base const&); + shared_base (const shared_base&); shared_base& - operator= (shared_base const&); + operator= (const shared_base&); void _inc_ref (); @@ -82,7 +82,7 @@ namespace odb template inline std::size_t - ref_count (X const*); + ref_count (const X*); } #include -- cgit v1.1