From e91e23a05387c7aa6de83234665d5d3bc45a8484 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 18 Nov 2021 17:19:30 +0100 Subject: [PATCH] Small code simplification in Settings. --- es-core/src/Settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/Settings.cpp b/es-core/src/Settings.cpp index 2635681a7..662d4eb05 100644 --- a/es-core/src/Settings.cpp +++ b/es-core/src/Settings.cpp @@ -70,7 +70,7 @@ Settings::Settings() std::shared_ptr Settings::getInstance() { - static std::shared_ptr instance{std::shared_ptr(new Settings)}; + static std::shared_ptr instance{new Settings()}; return instance; }