mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Fixed mssing virtual destructor warnings
In Visual Studio with warning 4265 enabled Closes #844
This commit is contained in:
		| @@ -91,6 +91,7 @@ namespace Catch { | ||||
|     TestSpec::NamePattern::~NamePattern() {} | ||||
|     TestSpec::TagPattern::~TagPattern() {} | ||||
|     TestSpec::ExcludedPattern::~ExcludedPattern() {} | ||||
| 	Matchers::Impl::MatcherUntypedBase::~MatcherUntypedBase() {} | ||||
|  | ||||
|     void Config::dummy() {} | ||||
|  | ||||
|   | ||||
| @@ -27,6 +27,7 @@ namespace Matchers { | ||||
|             } | ||||
|  | ||||
|         protected: | ||||
| 			virtual ~MatcherUntypedBase(); | ||||
|             virtual std::string describe() const = 0; | ||||
|             mutable std::string m_cachedToString; | ||||
|         private: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 philsquared
					philsquared