diff options
author | Rafał Mikrut <mikrutrafal@protonmail.com> | 2020-11-23 17:38:46 +0100 |
---|---|---|
committer | Rafał Mikrut <mikrutrafal@protonmail.com> | 2020-11-23 17:38:46 +0100 |
commit | 7bd03b718871137740c6bf074e984bba8dc113c3 (patch) | |
tree | c83a11a1ddae811a0ac2f7246f423678de2a106e /core/templates/hash_map.h | |
parent | 18023cc3ede6fd84842db77019085c383e807016 (diff) | |
download | redot-engine-7bd03b718871137740c6bf074e984bba8dc113c3.tar.gz |
Initialize class/struct variables with default values in core/ and drivers/
Diffstat (limited to 'core/templates/hash_map.h')
-rw-r--r-- | core/templates/hash_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/hash_map.h b/core/templates/hash_map.h index f6b889015a..e1ba381595 100644 --- a/core/templates/hash_map.h +++ b/core/templates/hash_map.h @@ -73,7 +73,7 @@ public: private: friend class HashMap; - uint32_t hash; + uint32_t hash = 0; Element *next = nullptr; Element() {} Pair pair; |