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/base.hxx | |
parent | c56f32eb5e0b88ef8297a691f5286ba4aa4aa8b4 (diff) |
Make use of const style consistent
Diffstat (limited to 'odb/shared-ptr/base.hxx')
-rw-r--r-- | odb/shared-ptr/base.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
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 <typename X> inline std::size_t - ref_count (X const*); + ref_count (const X*); } #include <odb/shared-ptr/base.ixx> |