diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-28 13:02:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-28 13:02:27 +0200 |
commit | 7ef4fb230176addaf2a10b01fc5bc4c017721180 (patch) | |
tree | f26fda1c64d6edf792c6578c4e24dee4f36ccf26 | |
parent | 8839a4a2200a2f726830ca3f1e689eefb120191f (diff) |
Fix incorrect reset() signature
-rw-r--r-- | odb/boost/smart-ptr/lazy-ptr.hxx | 2 | ||||
-rw-r--r-- | odb/boost/smart-ptr/lazy-ptr.ixx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/boost/smart-ptr/lazy-ptr.hxx b/odb/boost/smart-ptr/lazy-ptr.hxx index 482928e..8df56e7 100644 --- a/odb/boost/smart-ptr/lazy-ptr.hxx +++ b/odb/boost/smart-ptr/lazy-ptr.hxx @@ -109,7 +109,7 @@ namespace odb template <class Y> void reset (database_type&, Y*); template <class Y, class D> void reset (database_type&, Y*, D); template <class Y, class D, class A> void reset (database_type&, Y*, D, A); - template <class Y> void reset (database_type&, const std::auto_ptr<Y>&); + template <class Y> void reset (database_type&, std::auto_ptr<Y>&); template <class Y> void reset (database_type&, const ::boost::shared_ptr<Y>&); template <class O /* = T */> diff --git a/odb/boost/smart-ptr/lazy-ptr.ixx b/odb/boost/smart-ptr/lazy-ptr.ixx index e79c9fc..ecdc2a9 100644 --- a/odb/boost/smart-ptr/lazy-ptr.ixx +++ b/odb/boost/smart-ptr/lazy-ptr.ixx @@ -336,7 +336,7 @@ namespace odb template <class T> template <class Y> inline void lazy_shared_ptr<T>:: - reset (database_type& db, const std::auto_ptr<Y>& r) + reset (database_type& db, std::auto_ptr<Y>& r) { p_ = r; |