From 64cedf1b9772d626cae64dc505621be9ecbc6350 Mon Sep 17 00:00:00 2001 From: nakst <> Date: Mon, 21 Feb 2022 16:46:46 +0000 Subject: [PATCH] hash table: fix adding item to table after deleting all items --- shared/hash_table.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/hash_table.cpp b/shared/hash_table.cpp index dde2510..35a3a76 100644 --- a/shared/hash_table.cpp +++ b/shared/hash_table.cpp @@ -87,8 +87,8 @@ HashTableSlot *_HashTableGetSlot(HashTable *table, HashTableKey *key, bool useLo } } - EsAssert(false); - return nullptr; + EsAssert(firstTombstone); + return firstTombstone; } HashTableSlot *HashTableGetSlot(HashTable *table, HashTableKey key, bool useLongKeys) {