Fix HashMap element copy leaving hash as zero
This commit is contained in:
parent
6f1d2133bb
commit
f80e4e4f4c
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ public:
|
|||
Element(const TKey &p_key) :
|
||||
pair(p_key) {}
|
||||
Element(const Element &p_other) :
|
||||
hash(p_other.hash),
|
||||
pair(p_other.pair.key, p_other.pair.data) {}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue