mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 10:55:39 +02:00
Some listener and factory clean-ups
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Catch {
|
||||
}
|
||||
|
||||
void registerReporter( std::string const& name, IReporterFactoryPtr const& factory ) {
|
||||
m_factories.insert( std::make_pair( name, factory ) );
|
||||
m_factories.insert( { name, factory } );
|
||||
}
|
||||
void registerListener( IReporterFactoryPtr const& factory ) {
|
||||
m_listeners.push_back( factory );
|
||||
|
Reference in New Issue
Block a user