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:
|
public:
|
||||||
/// ChildIterator - Copy constructor.
|
/// ChildIterator - Copy constructor.
|
||||||
ChildIterator(const ChildIterator& other) : FirstNode(other.FirstNode),
|
ChildIterator(const ChildIterator &other) = default;
|
||||||
Children(other.Children) {}
|
ChildIterator &operator=(const ChildIterator &other) = default;
|
||||||
|
|
||||||
/// Comparison operators.
|
/// Comparison operators.
|
||||||
bool operator==(const ChildIterator &other) const {
|
bool operator==(const ChildIterator &other) const {
|
||||||
|
|
Loading…
Reference in New Issue