mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-04 22:19:34 +01: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