Some listener and factory clean-ups

This commit is contained in:
Phil Nash
2017-04-25 20:35:38 +01:00
parent dd78824697
commit a96f25c716
3 changed files with 4 additions and 5 deletions

View File

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