Remove unused StringRef argument from MatchExpr

Apart from cleaning up the code, this change also improves the
compilation time of `UsageTests/Matchers.tests.cpp` by about 2%.
This commit is contained in:
Martin Hořeňovský 2022-11-10 12:43:19 +01:00
parent 943c6e3dee
commit 6e77e16ea8
No known key found for this signature in database
GPG key ID: DE48307B8B0D381A
5 changed files with 13 additions and 16 deletions

View file

@ -64,7 +64,7 @@ namespace Catch {
auto allowThrows() const -> bool;
};
void handleExceptionMatchExpr( AssertionHandler& handler, std::string const& str, StringRef matcherString );
void handleExceptionMatchExpr( AssertionHandler& handler, std::string const& str );
} // namespace Catch