Made ReportConfig a value type

This commit is contained in:
Phil Nash
2012-07-20 19:07:42 +01:00
parent f606517376
commit d2553cdc64
10 changed files with 156 additions and 134 deletions

View File

@@ -22,7 +22,7 @@ namespace Catch {
deleteAllValues( m_factories );
}
virtual IReporter* create( const std::string& name, const IReporterConfig& config ) const {
virtual IReporter* create( const std::string& name, const ReporterConfig& config ) const {
FactoryMap::const_iterator it = m_factories.find( name );
if( it == m_factories.end() )
return NULL;