removed redundant virtuals on override functions (and added a couple of overrides)
This commit is contained in:
1 parent
74ab1cd94b
commit
f0890dcdf8
23 files changed
+183
-206
No files matched your search
@@ -192,11 +192,11 @@ class ExceptionMatcher : public Catch::MatcherBase<SpecialException> {
|
||||
int m_expected;
|
||||
public:
|
||||
ExceptionMatcher(int i):m_expected(i) {}
|
||||
virtual bool match(SpecialException const& se) const override {
|
||||
bool match(SpecialException const& se) const override {
|
||||
return se.i == m_expected;
|
||||
}
|
||||
|
||||
virtual std::string describe() const override {
|
||||
std::string describe() const override {
|
||||
std::ostringstream ss;
|
||||
ss << "special exception has value of " << m_expected;
|
||||
return ss.str();
|
||||
|
||||
Reference in new issue
Block a user