diff --git a/include/internal/catch_impl.hpp b/include/internal/catch_impl.hpp index 3886136..ed037a0 100644 --- a/include/internal/catch_impl.hpp +++ b/include/internal/catch_impl.hpp @@ -91,6 +91,7 @@ namespace Catch { TestSpec::NamePattern::~NamePattern() {} TestSpec::TagPattern::~TagPattern() {} TestSpec::ExcludedPattern::~ExcludedPattern() {} + Matchers::Impl::MatcherUntypedBase::~MatcherUntypedBase() {} void Config::dummy() {} diff --git a/include/internal/catch_matchers.hpp b/include/internal/catch_matchers.hpp index de7d64c..e258caa 100644 --- a/include/internal/catch_matchers.hpp +++ b/include/internal/catch_matchers.hpp @@ -27,6 +27,7 @@ namespace Matchers { } protected: + virtual ~MatcherUntypedBase(); virtual std::string describe() const = 0; mutable std::string m_cachedToString; private: