Fix HashMap element copy leaving hash as zero

This commit is contained in:
Pedro J. Estébanez 2021-10-13 17:25:31 +02:00
parent 6f1d2133bb
commit f80e4e4f4c

View file

@ -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) {}
};