From b4e22371527b6f96c6e0b0b9df1fb6fbec0dd169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sun, 12 Jul 2020 20:06:08 +0200 Subject: [PATCH] Remove pointless CompactReporter::getPreferences override --- include/reporters/catch_reporter_compact.cpp | 4 ---- include/reporters/catch_reporter_compact.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/include/reporters/catch_reporter_compact.cpp b/include/reporters/catch_reporter_compact.cpp index e9c44ea6..74df8d50 100644 --- a/include/reporters/catch_reporter_compact.cpp +++ b/include/reporters/catch_reporter_compact.cpp @@ -245,10 +245,6 @@ private: return "Reports test results on a single line, suitable for IDEs"; } - ReporterPreferences CompactReporter::getPreferences() const { - return m_reporterPrefs; - } - void CompactReporter::noMatchingTestCases( std::string const& spec ) { stream << "No test cases matched '" << spec << '\'' << std::endl; } diff --git a/include/reporters/catch_reporter_compact.h b/include/reporters/catch_reporter_compact.h index 5002df7b..fe33a220 100644 --- a/include/reporters/catch_reporter_compact.h +++ b/include/reporters/catch_reporter_compact.h @@ -22,8 +22,6 @@ namespace Catch { static std::string getDescription(); - ReporterPreferences getPreferences() const override; - void noMatchingTestCases(std::string const& spec) override; void assertionStarting(AssertionInfo const&) override;