diff options
author | Daniel Seither <[email protected]> | 2015-09-25 13:50:13 +0200 |
---|---|---|
committer | Daniel Seither <[email protected]> | 2015-09-25 14:26:09 +0200 |
commit | 75d7be8164c0fa7b5e283fef757bec09ea17a516 (patch) | |
tree | d253414f738267d334d2eeee162527d54998ad7b /src/tests/catchy | |
parent | 2568dace6bb78a1716ab625a062e083d88cd786e (diff) |
Add some missing overrides
Diffstat (limited to 'src/tests/catchy')
-rw-r--r-- | src/tests/catchy/catchy_tests.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/catchy/catchy_tests.h b/src/tests/catchy/catchy_tests.h index 99ad03f31..ab621d0f9 100644 --- a/src/tests/catchy/catchy_tests.h +++ b/src/tests/catchy/catchy_tests.h @@ -66,10 +66,10 @@ namespace Matchers { virtual ~Equals() override {} - virtual bool match( bool const& expr ) const { + virtual bool match( bool const& expr ) const override { return m_expected == expr; } - virtual std::string toString() const { + virtual std::string toString() const override { return "== " + Catch::toString(m_expected); } @@ -86,10 +86,10 @@ namespace Matchers { virtual ~Equals() override {} - virtual bool match( T const& expr ) const { + virtual bool match( T const& expr ) const override { return m_expected == expr; } - virtual std::string toString() const { + virtual std::string toString() const override { return "== " + Catch::toString(m_expected); } |