mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-26 05:02:25 +00:00
import from UXP: No issue - Don't assign non-live hash table entry. (6aa3331b)
This commit is contained in:
@@ -831,7 +831,7 @@ class HashTableEntry
|
||||
if (other->isLive()) {
|
||||
mozilla::Swap(*mem.addr(), *other->mem.addr());
|
||||
} else {
|
||||
*other->mem.addr() = mozilla::Move(*mem.addr());
|
||||
new (mozilla::KnownNotNull, other->mem.addr()) NonConstT(mozilla::Move(*mem.addr()));
|
||||
destroy();
|
||||
}
|
||||
mozilla::Swap(keyHash, other->keyHash);
|
||||
|
||||
Reference in New Issue
Block a user