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

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authoroffa2017-08-31 23:38:52 +0200
committerPhil Nash2017-09-01 09:40:11 +0100
commitbe067bce37f669d022bc6843a2fbe00a4446462e (patch)
treed1f17e2b8722331c05d3943bea610cb0fc5084db /include
parent115db71bab371c610f58b8eed1095247a1778bf6 (diff)
downloadcatch3-be067bce37f669d022bc6843a2fbe00a4446462e.tar.gz
Explicit ctor used to fix compilation failures caused by copy
initialization.
Diffstat (limited to 'include')
-rw-r--r--include/reporters/catch_reporter_multi.cpp6
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 );