Browse Source

Merge pull request #53772 from RandomShaper/fix_hash_map

Rémi Verschelde 3 years ago
parent
commit
fd2dcba02c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/templates/hash_map.h

+ 1 - 0
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) {}
 	};