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;