Static analysis cleanup in tests

This commit is contained in:
Martin Hořeňovský
2023-05-29 21:41:51 +02:00
parent bf5aa7b383
commit dff7513b28
3 changed files with 5 additions and 5 deletions

View File

@@ -890,7 +890,7 @@ struct MatcherA : Catch::Matchers::MatcherGenericBase {
return "equals: (int) 1 or (string) \"1\"";
}
bool match( int i ) const { return i == 1; }
bool match( std::string s ) const { return s == "1"; }
bool match( std::string const& s ) const { return s == "1"; }
};
struct MatcherB : Catch::Matchers::MatcherGenericBase {