From c3e8ae642fd6007a8bde03e4440d111b821d6f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Thu, 26 Nov 2020 18:35:20 +0100 Subject: [PATCH] Remove pointless virtual in WildcardPattern --- src/catch2/internal/catch_wildcard_pattern.hpp | 3 +-- 1 file changed, 1 insertion(+), 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;