summaryrefslogtreecommitdiff
path: root/zen/fixed_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/fixed_list.h')
-rw-r--r--zen/fixed_list.h11
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;
};
}
bgstack15