mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-04 22:19:34 +01:00
Migrated IStreamingReporter from Ptr to std::shared_ptr
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Catch {
|
||||
|
||||
virtual ~ReporterRegistry() override {}
|
||||
|
||||
virtual IStreamingReporter* create( std::string const& name, IConfigPtr const& config ) const override {
|
||||
virtual IStreamingReporterPtr create( std::string const& name, IConfigPtr const& config ) const override {
|
||||
FactoryMap::const_iterator it = m_factories.find( name );
|
||||
if( it == m_factories.end() )
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user