Fixed mssing virtual destructor warnings

In Visual Studio with warning 4265 enabled
Closes #844
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

View File

@ -91,6 +91,7 @@ namespace Catch {
TestSpec::NamePattern::~NamePattern() {}
TestSpec::TagPattern::~TagPattern() {}
TestSpec::ExcludedPattern::~ExcludedPattern() {}
Matchers::Impl::MatcherUntypedBase::~MatcherUntypedBase() {}
void Config::dummy() {}

View File

@ -27,6 +27,7 @@ namespace Matchers {
}
protected:
virtual ~MatcherUntypedBase();
virtual std::string describe() const = 0;
mutable std::string m_cachedToString;
private: