Fix moving util::hash_table
This commit is contained in:
parent
31ffd4dc54
commit
d2604bc5ce
1 changed files with 1 additions and 0 deletions
|
|
@ -119,6 +119,7 @@ namespace psemek::util
|
||||||
: Hash(std::move(other.hash()))
|
: Hash(std::move(other.hash()))
|
||||||
, Equal(std::move(other.equal()))
|
, Equal(std::move(other.equal()))
|
||||||
, storage_(std::move(other.storage_))
|
, storage_(std::move(other.storage_))
|
||||||
|
, size_(other.size_)
|
||||||
{
|
{
|
||||||
other.storage_.capacity = 0;
|
other.storage_.capacity = 0;
|
||||||
other.size_ = 0;
|
other.size_ = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue