diff options
| author | Martin Hořeňovský | 2020-05-19 14:25:54 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-05-20 07:15:21 +0200 |
| commit | bad8b7c8667b80dae2e37726fbde104a95ec855c (patch) | |
| tree | 526801d42968e20b9f35fe261b671d38ea119118 /src | |
| parent | 964303706a409848b64bad5380618f19ac4f3242 (diff) | |
| download | catch3-bad8b7c8667b80dae2e37726fbde104a95ec855c.tar.gz | |
Fix make_shared used instead of make_unique
Diffstat (limited to 'src')
| -rw-r--r-- | src/catch2/catch_reporter_registrars.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/catch_reporter_registrars.hpp b/src/catch2/catch_reporter_registrars.hpp index a4b9efb5..0b4c19f2 100644 --- a/src/catch2/catch_reporter_registrars.hpp +++ b/src/catch2/catch_reporter_registrars.hpp @@ -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>>() ); } }; |