Explicit ctor used to fix compilation failures caused by copy

initialization.
This commit is contained in:
offa 2017-08-31 23:38:52 +02:00 committed by Phil Nash
parent 115db71bab
commit be067bce37
1 changed files with 3 additions and 3 deletions

View File

@ -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 );