forked from OSchip/llvm-project
[ADT] Fixed -Wdeprecated-copy warning. NFCI
This commit is contained in:
parent
8f28f26860
commit
5272d2a3a4
|
@ -175,8 +175,8 @@ public:
|
|||
|
||||
public:
|
||||
/// ChildIterator - Copy constructor.
|
||||
ChildIterator(const ChildIterator& other) : FirstNode(other.FirstNode),
|
||||
Children(other.Children) {}
|
||||
ChildIterator(const ChildIterator &other) = default;
|
||||
ChildIterator &operator=(const ChildIterator &other) = default;
|
||||
|
||||
/// Comparison operators.
|
||||
bool operator==(const ChildIterator &other) const {
|
||||
|
|
Loading…
Reference in New Issue