aboutsummaryrefslogtreecommitdiff
path: root/core/hash_map.h
diff options
context:
space:
mode:
authorWilson E. Alvarez2017-07-30 19:07:04 -0400
committerWilson E. Alvarez2017-08-08 21:43:19 -0400
commit6d112a68b685cde609d0d90b2c57f2db6a7b9df6 (patch)
tree46a49619034e5e3f41fd3447c4c5727bfbfcdd64 /core/hash_map.h
parent950b205609ce41ab4804196a125e91274eb20258 (diff)
downloadgodot-6d112a68b685cde609d0d90b2c57f2db6a7b9df6.tar.gz
godot-6d112a68b685cde609d0d90b2c57f2db6a7b9df6.tar.zst
godot-6d112a68b685cde609d0d90b2c57f2db6a7b9df6.zip
Diffstat (limited to 'core/hash_map.h')
-rw-r--r--core/hash_map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/hash_map.h b/core/hash_map.h
index 45e7b82d2..2d7249e2f 100644
--- a/core/hash_map.h
+++ b/core/hash_map.h
@@ -96,9 +96,9 @@ public:
TData data;
Pair() {}
- Pair(const TKey &p_key, const TData &p_data) {
- key = p_key;
- data = p_data;
+ Pair(const TKey &p_key, const TData &p_data)
+ : key(p_key),
+ data(p_data) {
}
};