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

summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-11-14 11:27:30 +0100
committerMartin Hořeňovský2021-11-14 11:41:27 +0100
commitb2ac27423a7bc8cb97bada5e74d9dd71e03a0fcc (patch)
treeb40b740dcb2466421e0837811ec59ae2f2fb6c71 /src
parenta754cb90621fc311514c483676f2c053f0f67d25 (diff)
downloadcatch3-b2ac27423a7bc8cb97bada5e74d9dd71e03a0fcc.tar.gz
Cleanup visibility in StreamingReporterBase
Diffstat (limited to 'src')
-rw-r--r--src/catch2/reporters/catch_reporter_streaming_base.hpp5
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;