aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/boost/smart-ptr/lazy-ptr.hxx2
-rw-r--r--odb/boost/smart-ptr/lazy-ptr.ixx2
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;