mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
Explicit ctor used to fix compilation failures caused by copy
initialization.
This commit is contained in:
parent
115db71bab
commit
be067bce37
@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "catch_reporter_multi.h"
|
#include "catch_reporter_multi.h"
|
||||||
|
|
||||||
namespace Catch {
|
namespace Catch {
|
||||||
|
|
||||||
void MultipleReporters::add( IStreamingReporterPtr&& reporter ) {
|
void MultipleReporters::add( IStreamingReporterPtr&& reporter ) {
|
||||||
@ -19,10 +19,10 @@ namespace Catch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::set<Verbosity> MultipleReporters::getSupportedVerbosities() {
|
std::set<Verbosity> MultipleReporters::getSupportedVerbosities() {
|
||||||
return { };
|
return std::set<Verbosity>{ };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void MultipleReporters::noMatchingTestCases( std::string const& spec ) {
|
void MultipleReporters::noMatchingTestCases( std::string const& spec ) {
|
||||||
for( auto const& reporter : m_reporters )
|
for( auto const& reporter : m_reporters )
|
||||||
reporter->noMatchingTestCases( spec );
|
reporter->noMatchingTestCases( spec );
|
||||||
|
Loading…
Reference in New Issue
Block a user