From: Elena Mamontova Date: Tue, 24 May 2016 08:38:54 +0000 (+0300) Subject: Ticket 37. The changePolicy(TARIFF::ALLOW) added in the struct X-Git-Tag: 2.409~171 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/cb2b888547ddd246173d07ebdf354dc9a8bfad7d?ds=sidebyside;hp=638e02a86c3c80557ef75c38f9e6f3f56628ede1 Ticket 37. The changePolicy(TARIFF::ALLOW) added in the struct TARIFF_CONF constructors. --- diff --git a/include/stg/tariff_conf.h b/include/stg/tariff_conf.h index ef8f15c2..7790d47b 100644 --- a/include/stg/tariff_conf.h +++ b/include/stg/tariff_conf.h @@ -156,7 +156,8 @@ struct TARIFF_CONF traffType(TARIFF::TRAFF_UP_DOWN), passiveCost(0), name(), - period(TARIFF::MONTH) + period(TARIFF::MONTH), + changePolicy(TARIFF::ALLOW) {} TARIFF_CONF(const std::string & n) @@ -165,7 +166,8 @@ struct TARIFF_CONF traffType(TARIFF::TRAFF_UP_DOWN), passiveCost(0), name(n), - period(TARIFF::MONTH) + period(TARIFF::MONTH), + changePolicy(TARIFF::ALLOW) {} }; //-----------------------------------------------------------------------------