1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[ADT] Fixed -Wdeprecated-copy warning. NFCI

This commit is contained in:
Dávid Bolvanský 2019-11-28 00:49:26 +01:00
parent cf2b4380b6
commit 65776ed09f

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 {