diff options
author | Moonchild <moonchild@palemoon.org> | 2020-11-20 09:47:03 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-11-20 09:47:03 +0000 |
commit | 5165ed02285315cc0bed7977c7bac6d0a90ca43c (patch) | |
tree | 9b761a21eb924915e51c2d803208e6c01b505a45 /mfbt/UniquePtr.h | |
parent | e1db27e19989db11fef70f439cf95821316535b3 (diff) | |
parent | ca9abcdf1702c37bf00048dab3f460b2252873a3 (diff) | |
download | uxp-5165ed02285315cc0bed7977c7bac6d0a90ca43c.tar.gz |
Merge branch 'redwood' into releaseRELBASE_20201124RELBASE_20201120RC_20201120
Diffstat (limited to 'mfbt/UniquePtr.h')
-rw-r--r-- | mfbt/UniquePtr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mfbt/UniquePtr.h b/mfbt/UniquePtr.h index 7e1035bc6e..79d76cf022 100644 --- a/mfbt/UniquePtr.h +++ b/mfbt/UniquePtr.h @@ -314,7 +314,7 @@ public: return *this; } - T& operator*() const { return *get(); } + typename AddLvalueReference<T>::Type operator*() const { return *get(); } Pointer operator->() const { MOZ_ASSERT(get(), "dereferencing a UniquePtr containing nullptr"); |