diff --git a/src/catch2/reporters/catch_reporter_automake.hpp b/src/catch2/reporters/catch_reporter_automake.hpp index 01735d34..f254be68 100644 --- a/src/catch2/reporters/catch_reporter_automake.hpp +++ b/src/catch2/reporters/catch_reporter_automake.hpp @@ -14,9 +14,7 @@ namespace Catch { class AutomakeReporter final : public StreamingReporterBase { public: - AutomakeReporter( ReporterConfig const& _config ) - : StreamingReporterBase( _config ) - {} + using StreamingReporterBase::StreamingReporterBase; ~AutomakeReporter() override; diff --git a/src/catch2/reporters/catch_reporter_cumulative_base.hpp b/src/catch2/reporters/catch_reporter_cumulative_base.hpp index fd7a5045..d43ca479 100644 --- a/src/catch2/reporters/catch_reporter_cumulative_base.hpp +++ b/src/catch2/reporters/catch_reporter_cumulative_base.hpp @@ -89,8 +89,7 @@ namespace Catch { using TestCaseNode = Node; using TestRunNode = Node; - CumulativeReporterBase( ReporterConfig const& _config ): - ReporterBase( _config ) {} + using ReporterBase::ReporterBase; ~CumulativeReporterBase() override; void benchmarkPreparing( StringRef ) override {} diff --git a/src/catch2/reporters/catch_reporter_multi.hpp b/src/catch2/reporters/catch_reporter_multi.hpp index 253063ae..29f2693f 100644 --- a/src/catch2/reporters/catch_reporter_multi.hpp +++ b/src/catch2/reporters/catch_reporter_multi.hpp @@ -29,9 +29,7 @@ namespace Catch { void updatePreferences(IEventListener const& reporterish); public: - MultiReporter( IConfig const* config ): - IEventListener( config ) - {} + using IEventListener::IEventListener; void addListener( IEventListenerPtr&& listener ); void addReporter( IEventListenerPtr&& reporter ); diff --git a/src/catch2/reporters/catch_reporter_streaming_base.hpp b/src/catch2/reporters/catch_reporter_streaming_base.hpp index 990610fa..afa67d76 100644 --- a/src/catch2/reporters/catch_reporter_streaming_base.hpp +++ b/src/catch2/reporters/catch_reporter_streaming_base.hpp @@ -18,10 +18,7 @@ namespace Catch { class StreamingReporterBase : public ReporterBase { public: - StreamingReporterBase( ReporterConfig const& _config ): - ReporterBase( _config ) {} - - + using ReporterBase::ReporterBase; ~StreamingReporterBase() override; void benchmarkPreparing( StringRef ) override {}