Fix make_shared used instead of make_unique

This commit is contained in:
Martin Hořeňovský 2020-05-19 14:25:54 +02:00
parent 964303706a
commit bad8b7c866
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -30,7 +30,7 @@ namespace Catch {
class ReporterRegistrar { class ReporterRegistrar {
public: public:
explicit ReporterRegistrar( std::string const& name ) { explicit ReporterRegistrar( std::string const& name ) {
getMutableRegistryHub().registerReporter( name, std::make_shared<ReporterFactory<T>>() ); getMutableRegistryHub().registerReporter( name, std::make_unique<ReporterFactory<T>>() );
} }
}; };