Cleanup visibility in StreamingReporterBase

This commit is contained in:
Martin Hořeňovský 2021-11-14 11:27:30 +01:00
parent a754cb9062
commit b2ac27423a
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -33,8 +33,8 @@ namespace Catch {
}; };
struct StreamingReporterBase : IStreamingReporter { class StreamingReporterBase : public IStreamingReporter {
public:
StreamingReporterBase( ReporterConfig const& _config ): StreamingReporterBase( ReporterConfig const& _config ):
IStreamingReporter( _config.fullConfig() ), IStreamingReporter( _config.fullConfig() ),
stream( _config.stream() ) {} stream( _config.stream() ) {}
@ -82,6 +82,7 @@ namespace Catch {
void listTests( std::vector<TestCaseHandle> const& tests ) override; void listTests( std::vector<TestCaseHandle> const& tests ) override;
void listTags( std::vector<TagInfo> const& tags ) override; void listTags( std::vector<TagInfo> const& tags ) override;
protected:
std::ostream& stream; std::ostream& stream;
LazyStat<TestRunInfo> currentTestRunInfo; LazyStat<TestRunInfo> currentTestRunInfo;