diff options
Diffstat (limited to 'tests/HashTest.cpp')
-rw-r--r-- | tests/HashTest.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/HashTest.cpp b/tests/HashTest.cpp index c9b1bc967b..4a884e3b5b 100644 --- a/tests/HashTest.cpp +++ b/tests/HashTest.cpp @@ -111,6 +111,13 @@ public: *fCounter += 1; } + CopyCounter(CopyCounter&& other) { *this = std::move(other); } + void operator=(CopyCounter&& other) { + fID = other.fID; + fCounter = other.fCounter; + } + + bool operator==(const CopyCounter& other) const { return fID == other.fID; } |