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
@@ -413,7 +413,7 @@ public:
virtual shared_ptr<X> getX()
{
shared_ptr<X> px = get_shared_ptr(weak_this);
shared_ptr<X> px = weak_this.lock();
return px;
}
};