catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Explicit ctor used to fix compilation failures caused by copy
- Commit
be067bce37f669d022bc6843a2fbe00a4446462e- Author
- offa ·
- Committer
- Phil Nash
- Parents
115db71bab37
Changes
include/reporters/catch_reporter_multi.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/reporters/catch_reporter_multi.cpp b/include/reporters/catch_reporter_multi.cpp index b21672c3..017b628d 100644 --- a/include/reporters/catch_reporter_multi.cpp +++ b/include/reporters/catch_reporter_multi.cpp @@ -7,7 +7,7 @@ */ #include "catch_reporter_multi.h" - + namespace Catch { void MultipleReporters::add( IStreamingReporterPtr&& reporter ) { @@ -19,10 +19,10 @@ namespace Catch { } std::set<Verbosity> MultipleReporters::getSupportedVerbosities() { - return { }; + return std::set<Verbosity>{ }; } - + void MultipleReporters::noMatchingTestCases( std::string const& spec ) { for( auto const& reporter : m_reporters ) reporter->noMatchingTestCases( spec );