Streaming reporter interface is now used natively.

Legacy reporters are adapted by their factories.
This commit is contained in:
Phil Nash
2012-11-30 19:15:23 +00:00
parent 7f04b56738
commit 4e12e12c1f
6 changed files with 46 additions and 23 deletions

View File

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