mirror of https://gitlab.com/nakst/essence
hash table: fix adding item to table after deleting all items
This commit is contained in:
parent
7352b26191
commit
64cedf1b97
|
@ -87,8 +87,8 @@ HashTableSlot *_HashTableGetSlot(HashTable *table, HashTableKey *key, bool useLo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
EsAssert(false);
|
EsAssert(firstTombstone);
|
||||||
return nullptr;
|
return firstTombstone;
|
||||||
}
|
}
|
||||||
|
|
||||||
HashTableSlot *HashTableGetSlot(HashTable *table, HashTableKey key, bool useLongKeys) {
|
HashTableSlot *HashTableGetSlot(HashTable *table, HashTableKey key, bool useLongKeys) {
|
||||||
|
|
Loading…
Reference in New Issue