fix init methods

This commit is contained in:
Andrei Yankovich 2021-11-18 13:55:05 +03:00
parent ed56d729ad
commit 165e61a86d
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ void ISettings::setMode(const SettingsSaveMode &mode) {
_mode = mode; _mode = mode;
} }
const ISettings *ISettings::instance(){ ISettings *ISettings::instance(){
return _settings; return _settings;
} }

View File

@ -61,7 +61,7 @@ public:
* @return pointer to current settings model if object initialized else nullptr. * @return pointer to current settings model if object initialized else nullptr.
* @see ISettings::init * @see ISettings::init
*/ */
static const ISettings* instance(); static ISettings *instance();
/** /**
* @brief getValue This method return the value of the settings. * @brief getValue This method return the value of the settings.