Fixed in util::hash_table clearing & destructor

This commit is contained in:
Nikita Lisitsa 2024-06-02 15:47:41 +03:00
parent 2dd9d1e22d
commit 91c2dbca67

View file

@ -234,6 +234,12 @@ namespace psemek::util
for (auto & entry : storage_.entries())
entry.reset();
size_ = 0;
tombstone_count_ = 0;
}
~hash_table_impl()
{
clear();
}
hash_table_iterator<T> begin() const