From 7ef4fb230176addaf2a10b01fc5bc4c017721180 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 28 Feb 2012 13:02:27 +0200 Subject: Fix incorrect reset() signature --- odb/boost/smart-ptr/lazy-ptr.hxx | 2 +- 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 void reset (database_type&, Y*); template void reset (database_type&, Y*, D); template void reset (database_type&, Y*, D, A); - template void reset (database_type&, const std::auto_ptr&); + template void reset (database_type&, std::auto_ptr&); template void reset (database_type&, const ::boost::shared_ptr&); template 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 template inline void lazy_shared_ptr:: - reset (database_type& db, const std::auto_ptr& r) + reset (database_type& db, std::auto_ptr& r) { p_ = r; -- cgit v1.1