Small code simplification in Settings.

This commit is contained in:
Leon Styhre 2021-11-18 17:19:30 +01:00
parent bd1fa04e79
commit e91e23a053

View file

@ -70,7 +70,7 @@ Settings::Settings()
std::shared_ptr<Settings> Settings::getInstance()
{
static std::shared_ptr<Settings> instance{std::shared_ptr<Settings>(new Settings)};
static std::shared_ptr<Settings> instance{new Settings()};
return instance;
}