From: Elena Mamontova Date: Thu, 21 Jul 2016 13:08:31 +0000 (+0300) Subject: Ticket. Fixed enumeration values. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/6fe9371f7e3fd3011b69872392db97398020b03e?ds=sidebyside;hp=-c Ticket. Fixed enumeration values. --- 6fe9371f7e3fd3011b69872392db97398020b03e diff --git a/stglibs/srvconf.lib/parsers/chg_tariff.cpp b/stglibs/srvconf.lib/parsers/chg_tariff.cpp index 5c6fd720..bdc7f42b 100644 --- a/stglibs/srvconf.lib/parsers/chg_tariff.cpp +++ b/stglibs/srvconf.lib/parsers/chg_tariff.cpp @@ -72,10 +72,10 @@ if (!data.tariffConf.period.empty()) if (!data.tariffConf.changePolicy.empty()) switch (data.tariffConf.changePolicy.data()) { - case TARIFF::DAY: stream << ""; break; - case TARIFF::MONTH: stream << ""; break; - case TARIFF::MONTH: stream << ""; break; - case TARIFF::MONTH: stream << ""; break; + case TARIFF::ALLOW: stream << ""; break; + case TARIFF::TO_CHEAP: stream << ""; break; + case TARIFF::TO_EXPENSIVE: stream << ""; break; + case TARIFF::DENY: stream << ""; break; } for (size_t i = 0; i < DIR_NUM; ++i)