swimming_pool/swimming_pool/Settings/app_setting_manager.cpp
void app_setting_manager::add_value (std::string key, std::string value)
{
    auto setting = new app_setting;
    setting->key   = std::move(key);
    setting->value = std::move(value);
    
    settings_.push_back(setting);
    save_and_reload();
}
/*
 * Function adds new app_setting object with current key and value
 */
Function adds new app_setting object with current key and value
Function adds new app_setting object with current key and value
void app_setting_manager::add_value (std::string key, std::string value)
{
    auto setting = new app_setting;
    setting->key   = std::move(key);
    setting->value = std::move(value);
    settings_.push_back(setting);
    save_and_reload();
}
void app_setting_manager :: add_value ( std :: string key , std :: string value ) { auto setting = new app_setting ; setting -> key = std :: move ( key ) ; setting -> value = std :: move ( value ) ; settings_ . push_back ( setting ) ; save_and_reload ( ) ; }
Function adds new app_setting object with current key and value
Function adds new app_setting object with current key and value