From cb2b888547ddd246173d07ebdf354dc9a8bfad7d Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Tue, 24 May 2016 11:38:54 +0300 Subject: [PATCH] Ticket 37. The changePolicy(TARIFF::ALLOW) added in the struct TARIFF_CONF constructors. --- include/stg/tariff_conf.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) {} }; //----------------------------------------------------------------------------- -- 2.43.2