diff --git a/Docs/Discovery.md b/Docs/Discovery.md index c8558e0..636777a 100644 --- a/Docs/Discovery.md +++ b/Docs/Discovery.md @@ -218,12 +218,9 @@ class DiscoverReporter : public StreamingReporterBase }; DiscoverReporter::DiscoverReporter( ReporterConfig const& _config ) -: StreamingReporterBase( _config ), + : StreamingReporterBase( _config ), m_xml(_config.stream()) -{ - m_reporterPrefs.shouldRedirectStdOut = false; - m_reporterPrefs.shouldReportAllAssertions = false; -} +{ } DiscoverReporter::~DiscoverReporter() = default; std::string DiscoverReporter::getDescription() diff --git a/ReferenceTests/Src/Catch2/catch_discover.hpp b/ReferenceTests/Src/Catch2/catch_discover.hpp index 3a5e06a..b527d70 100644 --- a/ReferenceTests/Src/Catch2/catch_discover.hpp +++ b/ReferenceTests/Src/Catch2/catch_discover.hpp @@ -134,12 +134,9 @@ namespace Catch }; DiscoverReporter::DiscoverReporter( ReporterConfig const& _config ) - : StreamingReporterBase( _config ), + : StreamingReporterBase( _config ), m_xml(_config.stream()) - { - m_reporterPrefs.shouldRedirectStdOut = false; - m_reporterPrefs.shouldReportAllAssertions = false; - } + { } DiscoverReporter::~DiscoverReporter() = default;