We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd6a984 commit 602855cCopy full SHA for 602855c
include/llvm/ADT/ilist.h
@@ -171,15 +171,15 @@ class ilist_iterator
171
typedef node_type &node_reference;
172
173
private:
174
- node_pointer NodePtr = nullptr;
+ node_pointer NodePtr;
175
176
public:
177
/// Create from an ilist_node.
178
explicit ilist_iterator(node_reference N) : NodePtr(&N) {}
179
180
explicit ilist_iterator(pointer NP) : NodePtr(NP) {}
181
explicit ilist_iterator(reference NR) : NodePtr(&NR) {}
182
- ilist_iterator() = default;
+ ilist_iterator() : NodePtr(nullptr) {}
183
184
// This is templated so that we can allow constructing a const iterator from
185
// a nonconst iterator...
0 commit comments