Bug 801120 - Support T* WeakPtr<T>::get(). r=Ms2ger,ehsan

--HG--
extra : rebase_source : 662ef6f39966956be5588d9bd7508dbe59a2c537
This commit is contained in:
Joe Drew 2012-10-12 18:17:58 -04:00
parent 7f41dae0d8
commit 6001445fd1

View File

@ -126,6 +126,10 @@ class WeakPtr
return ref->get();
}
T* get() const {
return ref->get();
}
private:
friend class SupportsWeakPtr<T>;