forked from boostorg/smart_ptr
get_shared_ptr renamed to weak_ptr::lock.
[SVN r17307]
This commit is contained in:
@@ -3094,7 +3094,7 @@ public:
|
||||
|
||||
virtual boost::shared_ptr<X> getX()
|
||||
{
|
||||
boost::shared_ptr<X> px = boost::get_shared_ptr(weak_this);
|
||||
boost::shared_ptr<X> px = weak_this.lock();
|
||||
return px;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user