From bad8b7c8667b80dae2e37726fbde104a95ec855c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Tue, 19 May 2020 14:25:54 +0200 Subject: [PATCH] Fix make_shared used instead of make_unique --- src/catch2/catch_reporter_registrars.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>() ); + getMutableRegistryHub().registerReporter( name, std::make_unique>() ); } };