diff options
author | Daniel Wilhelm <daniel@wili.li> | 2015-10-02 14:57:46 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2015-10-02 14:57:46 +0200 |
commit | ad4e3d2c55e75193c41356c23619f80add41db18 (patch) | |
tree | dd836d120f50e472106e04968ef8185c25e4242e /zen/fixed_list.h | |
parent | 7.4 (diff) | |
download | FreeFileSync-ad4e3d2c55e75193c41356c23619f80add41db18.tar.gz FreeFileSync-ad4e3d2c55e75193c41356c23619f80add41db18.tar.bz2 FreeFileSync-ad4e3d2c55e75193c41356c23619f80add41db18.zip |
7.5
Diffstat (limited to 'zen/fixed_list.h')
-rw-r--r-- | zen/fixed_list.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/zen/fixed_list.h b/zen/fixed_list.h index a1f83eb4..61ce3f16 100644 --- a/zen/fixed_list.h +++ b/zen/fixed_list.h @@ -27,10 +27,7 @@ class FixedList }; public: - FixedList() : - firstInsert(nullptr), - lastInsert(nullptr), - sz(0) {} + FixedList() {} ~FixedList() { clear(); } @@ -151,9 +148,9 @@ private: delete oldNode; } - Node* firstInsert; - Node* lastInsert; //point to last insertion; required by efficient emplace_back() - size_t sz; + Node* firstInsert = nullptr; + Node* lastInsert = nullptr; //point to last insertion; required by efficient emplace_back() + size_t sz = 0; }; } |