git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
638e02a
)
Ticket 37. The changePolicy(TARIFF::ALLOW) added in the struct
author
Elena Mamontova
<helenh463@gmail.com>
Tue, 24 May 2016 08:38:54 +0000
(11:38 +0300)
committer
Elena Mamontova
<helenh463@gmail.com>
Tue, 24 May 2016 08:38:54 +0000
(11:38 +0300)
TARIFF_CONF constructors.
include/stg/tariff_conf.h
patch
|
blob
|
history
diff --git
a/include/stg/tariff_conf.h
b/include/stg/tariff_conf.h
index ef8f15c263100d8f338b8aacbfc5588802124008..7790d47bf470ea03f6a0d06b580feca650147ec1 100644
(file)
--- 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)
{}
};
//-----------------------------------------------------------------------------