diff options
| author | Martin Hořeňovský | 2021-11-14 11:27:30 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-11-14 11:41:27 +0100 |
| commit | b2ac27423a7bc8cb97bada5e74d9dd71e03a0fcc (patch) | |
| tree | b40b740dcb2466421e0837811ec59ae2f2fb6c71 /src | |
| parent | a754cb90621fc311514c483676f2c053f0f67d25 (diff) | |
| download | catch3-b2ac27423a7bc8cb97bada5e74d9dd71e03a0fcc.tar.gz | |
Cleanup visibility in StreamingReporterBase
Diffstat (limited to 'src')
| -rw-r--r-- | src/catch2/reporters/catch_reporter_streaming_base.hpp | 5 |
1 files 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<TestCaseHandle> const& tests ) override; void listTags( std::vector<TagInfo> const& tags ) override; + protected: std::ostream& stream; LazyStat<TestRunInfo> currentTestRunInfo; |