forked from boostorg/smart_ptr
sp_counted_impl_p added for the pointer constructor
[SVN r27727]
This commit is contained in:
1 parent
b0eb65b433
commit
09a0ba8c75
3 files changed
+116
-66
No files matched your search
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user