diff --git a/isettings.h b/isettings.h index 0019e0c..7747809 100644 --- a/isettings.h +++ b/isettings.h @@ -45,7 +45,7 @@ public: static_assert (std::is_base_of::value, "the Settingstype type must be ISettings"); - if(_settings == nullptr){ + if(!_settings){ _settings = new Settingstype(); }