mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Fix make_shared used instead of make_unique
This commit is contained in:
parent
964303706a
commit
bad8b7c866
@ -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>>() );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user