Index: boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp,v
retrieving revision 1.4
diff -u -r1.4 sp_counted_impl.hpp
--- boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp	22 Jul 2007 14:06:08 -0000	1.4
+++ boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp	27 Mar 2008 08:45:04 -0000
@@ -63,7 +63,7 @@
    // pre: d(p) must not throw
    template<class Ptr>
    sp_counted_impl_pd(const Ptr & p, const A &a, const D &d )
-      :  this_allocator(a), D(d), m_ptr(p)
+      :  this_allocator(a), D(d), m_ptr(p.get())
    {}
 
    const_deleter_pointer get_deleter() const
