Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/catch2/matchers/catch_matchers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,5 @@ namespace Matchers {
return m_cachedToString;
}

MatcherUntypedBase::~MatcherUntypedBase() = default;

} // namespace Matchers
} // namespace Catch
2 changes: 1 addition & 1 deletion src/catch2/matchers/catch_matchers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace Matchers {
std::string toString() const;

protected:
virtual ~MatcherUntypedBase(); // = default;
virtual ~MatcherUntypedBase() = default;
virtual std::string describe() const = 0;
mutable std::string m_cachedToString;
};
Expand Down
2 changes: 0 additions & 2 deletions src/catch2/matchers/catch_matchers_templated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

namespace Catch {
namespace Matchers {
MatcherGenericBase::~MatcherGenericBase() = default;

namespace Detail {

std::string describe_multi_matcher(StringRef combine, std::string const* descriptions_begin, std::string const* descriptions_end) {
Expand Down
2 changes: 1 addition & 1 deletion src/catch2/matchers/catch_matchers_templated.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Matchers {
class MatcherGenericBase : public MatcherUntypedBase {
public:
MatcherGenericBase() = default;
~MatcherGenericBase() override; // = default;
~MatcherGenericBase() override = default;

MatcherGenericBase(MatcherGenericBase const&) = default;
MatcherGenericBase(MatcherGenericBase&&) = default;
Expand Down
Loading