mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-05-01 20:19:41 +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,
|
static_assert (std::is_base_of<SettingsType, ISettings>::value,
|
||||||
"the Settingstype type must be ISettings");
|
"the Settingstype type must be ISettings");
|
||||||
|
|
||||||
if(_settings == nullptr){
|
if(!_settings){
|
||||||
_settings = new Settingstype();
|
_settings = new Settingstype();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user