summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-10-13 21:03:50 +0200
committerGitHub <noreply@github.com>2021-10-13 21:03:50 +0200
commitfd2dcba02ceda5a361fae5e65cd73a39a583b984 (patch)
treebfb3048d690ee28d201077f191d445a1a08207ff
parent78cdfff0ec43a13406a7654eaf89aad50ddf8fde (diff)
parentf80e4e4f4ca199876965af9a2fbb19e81d2c50d9 (diff)
Merge pull request #53772 from RandomShaper/fix_hash_map
-rw-r--r--core/templates/hash_map.h1
1 files changed, 1 insertions, 0 deletions
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) {}
};