summaryrefslogtreecommitdiffstats
path: root/core/templates/hash_map.h
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal@protonmail.com>2020-11-23 17:38:46 +0100
committerRafał Mikrut <mikrutrafal@protonmail.com>2020-11-23 17:38:46 +0100
commit7bd03b718871137740c6bf074e984bba8dc113c3 (patch)
treec83a11a1ddae811a0ac2f7246f423678de2a106e /core/templates/hash_map.h
parent18023cc3ede6fd84842db77019085c383e807016 (diff)
downloadredot-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.h2
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;