diff options
| author | Martin Hořeňovský | 2020-11-26 18:35:20 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-11-26 18:35:20 +0100 |
| commit | c3e8ae642fd6007a8bde03e4440d111b821d6f8d (patch) | |
| tree | 8f4d5a4fb6e02bf7142ac5bb8a797c2349c543af /src/catch2 | |
| parent | 3bd5fd6bc52d393a50fe885f8f2b160c36fe0f7d (diff) | |
| download | catch3-c3e8ae642fd6007a8bde03e4440d111b821d6f8d.tar.gz | |
Remove pointless virtual in WildcardPattern
Diffstat (limited to 'src/catch2')
| -rw-r--r-- | src/catch2/internal/catch_wildcard_pattern.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/catch2/internal/catch_wildcard_pattern.hpp b/src/catch2/internal/catch_wildcard_pattern.hpp index 2baf903d..6e9f6d57 100644 --- a/src/catch2/internal/catch_wildcard_pattern.hpp +++ b/src/catch2/internal/catch_wildcard_pattern.hpp @@ -25,8 +25,7 @@ namespace Catch public: WildcardPattern( std::string const& pattern, CaseSensitive caseSensitivity ); - virtual ~WildcardPattern() = default; - virtual bool matches( std::string const& str ) const; + bool matches( std::string const& str ) const; private: std::string normaliseString( std::string const& str ) const; |