++it)
{
std::string parameter;
- if (it->c_str() == "tariffName")
+ if (*it == "tariffName")
parameter = rsu.user->GetParamValue("tariff");
else
- parameter = rsu.user->GetParamValue(it->c_str());
+ parameter = rsu.user->GetParamValue(*it);
if (params.length() + parameter.length() > RS_PARAMS_LEN - 1)
break;
params += parameter + " ";
disabledDetailStat(conf.disabledDetailStat, "DisabledDetailStat", false, false, GetStgLogger(), sd, properties),
alwaysOnline(conf.alwaysOnline, "alwaysOnline", false, false, GetStgLogger(), sd, properties),
tariffName (conf.tariffName, "tariff", false, false, GetStgLogger(), sd, properties),
- nextTariff (conf.nextTariff, "new tariff", false, false, GetStgLogger(), sd, properties),
+ nextTariff (conf.nextTariff, "next tariff", false, false, GetStgLogger(), sd, properties),
address (conf.address, "address", false, false, GetStgLogger(), sd, properties),
note (conf.note, "note", false, false, GetStgLogger(), sd, properties),
group (conf.group, "group", false, false, GetStgLogger(), sd, properties),