[ADT] Fixed -Wdeprecated-copy warning. NFCI

This commit is contained in:
Dávid Bolvanský 2019-11-28 00:49:26 +01:00
parent 8f28f26860
commit 5272d2a3a4
1 changed files with 2 additions and 2 deletions

View File

@ -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 {