mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-04-26 09:44:38 +00:00
Update isettings.h
Co-authored-by: Andrei Yankovich <EndrIIMail@gmail.com>
This commit is contained in:
parent
26156be771
commit
b62144cd4b
@ -45,7 +45,7 @@ public:
|
||||
static_assert (std::is_base_of<SettingsType, ISettings>::value,
|
||||
"the Settingstype type must be ISettings");
|
||||
|
||||
if(_settings == nullptr){
|
||||
if(!_settings){
|
||||
_settings = new Settingstype();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user