mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 801120 - Support T* WeakPtr<T>::get(). r=Ms2ger,ehsan
--HG-- extra : rebase_source : 662ef6f39966956be5588d9bd7508dbe59a2c537
This commit is contained in:
parent
7f41dae0d8
commit
6001445fd1
@ -126,6 +126,10 @@ class WeakPtr
|
||||
return ref->get();
|
||||
}
|
||||
|
||||
T* get() const {
|
||||
return ref->get();
|
||||
}
|
||||
|
||||
private:
|
||||
friend class SupportsWeakPtr<T>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user