1
0
mirror of https://github.com/catchorg/Catch2.git synced 2025-04-08 03:14:46 +02:00

Fixed mssing virtual destructor warnings

In Visual Studio with warning 4265 enabled
Closes 
This commit is contained in:
philsquared 2017-03-06 08:59:52 +00:00
parent 6fea473414
commit d5a5883a10
2 changed files with 2 additions and 0 deletions

@ -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: