mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Check in change that might help fix a WeakKeyHashMap assert
This commit is contained in:
parent
0ae2df7e02
commit
b0d8b9109e
@ -710,5 +710,8 @@ expand_table() {
|
||||
nassertv(validate());
|
||||
nassertv(old_map.validate());
|
||||
|
||||
nassertv(_num_entries == old_map._num_entries);
|
||||
// Note that since has_element(i) also checks whether the pointer
|
||||
// has been deleted, we may end up with fewer entries than we
|
||||
// started with. Good riddance.
|
||||
nassertv(_num_entries <= old_map._num_entries);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user