Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-07-12 20:06:08 +0200
committerMartin Hořeňovský2020-07-26 14:07:19 +0200
commit6b3c563c3838c0cac62a88151610ff145faf5df8 (patch)
treeff2a2a4fa01a44e4b93c74319730fba700a219b0
parenta004423c7f4846fadacf631ec05b3b412ef8c201 (diff)
downloadcatch3-6b3c563c3838c0cac62a88151610ff145faf5df8.tar.gz
Remove pointless CompactReporter::getPreferences override
-rw-r--r--src/catch2/reporters/catch_reporter_compact.cpp4
-rw-r--r--src/catch2/reporters/catch_reporter_compact.hpp2
2 files changed, 0 insertions, 6 deletions
diff --git a/src/catch2/reporters/catch_reporter_compact.cpp b/src/catch2/reporters/catch_reporter_compact.cpp
index 741db305..888cc18a 100644
--- a/src/catch2/reporters/catch_reporter_compact.cpp
+++ b/src/catch2/reporters/catch_reporter_compact.cpp
@@ -256,10 +256,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/src/catch2/reporters/catch_reporter_compact.hpp b/src/catch2/reporters/catch_reporter_compact.hpp
index 52fef299..7c814c09 100644
--- a/src/catch2/reporters/catch_reporter_compact.hpp
+++ b/src/catch2/reporters/catch_reporter_compact.hpp
@@ -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;