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/set.h | |
parent | 18023cc3ede6fd84842db77019085c383e807016 (diff) |
Initialize class/struct variables with default values in core/ and drivers/
Diffstat (limited to 'core/templates/set.h')
-rw-r--r-- | core/templates/set.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/set.h b/core/templates/set.h index 1bc0a3f41e..d0ac71a710 100644 --- a/core/templates/set.h +++ b/core/templates/set.h @@ -80,7 +80,7 @@ public: private: struct _Data { Element *_root = nullptr; - Element *_nil; + Element *_nil = nullptr; int size_cache = 0; _FORCE_INLINE_ _Data() { |