summaryrefslogtreecommitdiff
path: root/test/support/Counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/support/Counter.h')
-rw-r--r--test/support/Counter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/support/Counter.h b/test/support/Counter.h
index 2bc3642f5059..eb6e04e72ef6 100644
--- a/test/support/Counter.h
+++ b/test/support/Counter.h
@@ -13,7 +13,7 @@
#include <functional> // for std::hash
struct Counter_base { static int gConstructed; };
-
+
template <typename T>
class Counter : public Counter_base
{
@@ -27,7 +27,7 @@ public:
Counter& operator=(Counter&& rhs) { ++gConstructed; data_ = std::move(rhs.data_); return *this; }
#endif
~Counter() { --gConstructed; }
-
+
const T& get() const {return data_;}
bool operator==(const Counter& x) const {return data_ == x.data_;}