[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: 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 {