Remove pointless virtual in WildcardPattern

This commit is contained in:
Martin Hořeňovský 2020-11-26 18:35:20 +01:00
parent 3bd5fd6bc5
commit c3e8ae642f
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -25,8 +25,7 @@ namespace Catch
public: public:
WildcardPattern( std::string const& pattern, CaseSensitive caseSensitivity ); WildcardPattern( std::string const& pattern, CaseSensitive caseSensitivity );
virtual ~WildcardPattern() = default; bool matches( std::string const& str ) const;
virtual bool matches( std::string const& str ) const;
private: private:
std::string normaliseString( std::string const& str ) const; std::string normaliseString( std::string const& str ) const;