From b2ac27423a7bc8cb97bada5e74d9dd71e03a0fcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sun, 14 Nov 2021 11:27:30 +0100 Subject: [PATCH] Cleanup visibility in StreamingReporterBase --- src/catch2/reporters/catch_reporter_streaming_base.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/catch2/reporters/catch_reporter_streaming_base.hpp b/src/catch2/reporters/catch_reporter_streaming_base.hpp index ee40fbeb..63d3a38a 100644 --- a/src/catch2/reporters/catch_reporter_streaming_base.hpp +++ b/src/catch2/reporters/catch_reporter_streaming_base.hpp @@ -33,8 +33,8 @@ namespace Catch { }; - struct StreamingReporterBase : IStreamingReporter { - + class StreamingReporterBase : public IStreamingReporter { + public: StreamingReporterBase( ReporterConfig const& _config ): IStreamingReporter( _config.fullConfig() ), stream( _config.stream() ) {} @@ -82,6 +82,7 @@ namespace Catch { void listTests( std::vector const& tests ) override; void listTags( std::vector const& tags ) override; + protected: std::ostream& stream; LazyStat currentTestRunInfo;