Merge remote-tracking branch 'origin/master' into custom

This commit is contained in:
roytam1 2020-11-13 09:15:56 +08:00
commit ee137dacc1
41 changed files with 6259 additions and 508 deletions

View file

@ -313,7 +313,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");