diff --git a/include/boost/shared_ptr.hpp b/include/boost/shared_ptr.hpp index db75b9e..eb4d662 100644 --- a/include/boost/shared_ptr.hpp +++ b/include/boost/shared_ptr.hpp @@ -117,7 +117,7 @@ public: #ifndef BOOST_NO_AUTO_PTR template - explicit shared_ptr(std::auto_ptr & r): px(r.get()), pn(r.release(), checked_deleter()) + explicit shared_ptr(std::auto_ptr & r): px(r.get()), pn(r) { }