sp_counted_impl_p added for the pointer constructor

[SVN r27727]
This commit is contained in:
Peter Dimov committed 2005-03-17 23:30:47 +00:00
1 parent b0eb65b433
commit 09a0ba8c75
3 files changed
+116 -66

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ public:
}
template<class Y>
explicit shared_ptr(Y * p): px(p), pn(p, checked_deleter<Y>()) // Y must be complete
explicit shared_ptr( Y * p ): px( p ), pn( p ) // Y must be complete
{
detail::sp_enable_shared_from_this( pn, p, p );
}