summaryrefslogtreecommitdiffstats
path: root/unittests/ADT/ilistTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/ADT/ilistTest.cpp')
-rw-r--r--unittests/ADT/ilistTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/ADT/ilistTest.cpp b/unittests/ADT/ilistTest.cpp
index 44442eb..9127b05 100644
--- a/unittests/ADT/ilistTest.cpp
+++ b/unittests/ADT/ilistTest.cpp
@@ -21,7 +21,8 @@ struct Node : ilist_node<Node> {
int Value;
Node() {}
- Node(int _Value) : Value(_Value) {}
+ Node(int Value) : Value(Value) {}
+ Node(const Node&) = default;
~Node() { Value = -1; }
};