Fix moving util::hash_table

This commit is contained in:
Nikita Lisitsa 2023-08-24 18:50:31 +03:00
parent 31ffd4dc54
commit d2604bc5ce

View file

@ -119,6 +119,7 @@ namespace psemek::util
: Hash(std::move(other.hash()))
, Equal(std::move(other.equal()))
, storage_(std::move(other.storage_))
, size_(other.size_)
{
other.storage_.capacity = 0;
other.size_ = 0;