forked from boostorg/smart_ptr
Fixed compile error with new enable_shared_from_this code,
reported by Tim Blechmann [SVN r43823]
This commit is contained in:
@ -95,7 +95,7 @@ public:
|
||||
{
|
||||
init_internal_shared_once();
|
||||
get_deleter<detail::sp_deleter_wrapper>(_internal_shared_this)->set_deleter(owner);
|
||||
owner = _internal_shared_this;
|
||||
owner = dynamic_pointer_cast<U>(_internal_shared_this);
|
||||
_internal_shared_this.reset();
|
||||
_owned = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user