From f80e4e4f4ca199876965af9a2fbb19e81d2c50d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Wed, 13 Oct 2021 17:25:31 +0200 Subject: Fix HashMap element copy leaving hash as zero --- core/templates/hash_map.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/templates/hash_map.h b/core/templates/hash_map.h index b5bb0d7396..1634219c23 100644 --- a/core/templates/hash_map.h +++ b/core/templates/hash_map.h @@ -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) {} }; -- cgit v1.2.3