diff options
| author | offa | 2017-08-31 23:38:52 +0200 |
|---|---|---|
| committer | Phil Nash | 2017-09-01 09:40:11 +0100 |
| commit | be067bce37f669d022bc6843a2fbe00a4446462e (patch) | |
| tree | d1f17e2b8722331c05d3943bea610cb0fc5084db | |
| parent | 115db71bab371c610f58b8eed1095247a1778bf6 (diff) | |
| download | catch3-be067bce37f669d022bc6843a2fbe00a4446462e.tar.gz | |
Explicit ctor used to fix compilation failures caused by copy
initialization.
| -rw-r--r-- | include/reporters/catch_reporter_multi.cpp | 6 |
1 files 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 ); |