mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-14 01:40:53 +00:00
Work around PR29097 to get the module bots going again.
This replaces an =default constructor with an explicit definition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279522 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
66bde5c4b3
commit
20885de16a
@ -171,7 +171,7 @@ public:
|
||||
typedef node_type &node_reference;
|
||||
|
||||
private:
|
||||
node_pointer NodePtr = nullptr;
|
||||
node_pointer NodePtr;
|
||||
|
||||
public:
|
||||
/// Create from an ilist_node.
|
||||
@ -179,7 +179,7 @@ public:
|
||||
|
||||
explicit ilist_iterator(pointer NP) : NodePtr(NP) {}
|
||||
explicit ilist_iterator(reference NR) : NodePtr(&NR) {}
|
||||
ilist_iterator() = default;
|
||||
ilist_iterator() : NodePtr(nullptr) {}
|
||||
|
||||
// This is templated so that we can allow constructing a const iterator from
|
||||
// a nonconst iterator...
|
||||
|
Loading…
x
Reference in New Issue
Block a user