get_shared_ptr renamed to weak_ptr::lock.

[SVN r17307]
This commit is contained in:
Peter Dimov committed 2003-02-10 15:56:36 +00:00
1 parent 34f423f811
commit 851d87a1bb
7 files changed
+69 -73

No files matched your search

+1 -1
View File
@@ -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;
}
};