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

This commit is contained in:
roytam1 2025-04-18 10:32:18 +08:00
commit 42e13fd8bf
7 changed files with 10 additions and 40 deletions

View file

@ -117,7 +117,7 @@ class ExclusiveData
}
ExclusiveData(ExclusiveData&& rhs) :
lock_(mozilla::Move(rhs.lock))
lock_(mozilla::Move(rhs.lock()))
{
MOZ_ASSERT(&rhs != this, "self-move disallowed!");
new (value_.addr()) T(mozilla::Move(*rhs.value_.addr()));