mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Fix make_shared used instead of make_unique
This commit is contained in:
		@@ -30,7 +30,7 @@ namespace Catch {
 | 
			
		||||
    class ReporterRegistrar {
 | 
			
		||||
    public:
 | 
			
		||||
        explicit ReporterRegistrar( std::string const& name ) {
 | 
			
		||||
            getMutableRegistryHub().registerReporter( name, std::make_shared<ReporterFactory<T>>() );
 | 
			
		||||
            getMutableRegistryHub().registerReporter( name, std::make_unique<ReporterFactory<T>>() );
 | 
			
		||||
        }
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user