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; }