Fixed in util::hash_table clearing & destructor
This commit is contained in:
parent
2dd9d1e22d
commit
91c2dbca67
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue