mirror of
https://github.com/godotengine/godot.git
synced 2026-02-08 03:38:29 +00:00
Fix HashMap element copy leaving hash as zero
This commit is contained in:
@@ -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) {}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user