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:
061f402
)
Ticket 37. Cycle for added in the TARIFF_DATA_RES & operator() in struct
author
Elena Mamontova
<helenh463@gmail.com>
Mon, 22 Aug 2016 12:36:14 +0000
(15:36 +0300)
committer
Elena Mamontova
<helenh463@gmail.com>
Mon, 22 Aug 2016 12:36:14 +0000
(15:36 +0300)
TARIFF_DATA_RES.
include/stg/tariff_conf.h
patch
|
blob
|
history
diff --git
a/include/stg/tariff_conf.h
b/include/stg/tariff_conf.h
index 9de3083042cd5f55ddc839c6174590d655c4d066..cee3b4a5237d9f446caec2580cd6ef7c6fde54c2 100644
(file)
--- a/
include/stg/tariff_conf.h
+++ b/
include/stg/tariff_conf.h
@@
-258,6
+258,8
@@
struct TARIFF_DATA_RES
TARIFF_DATA_RES & operator=(const TARIFF_DATA & td)
{
tariffConf = td.tariffConf;
+ for (size_t i = 0; i < DIR_NUM; ++i)
+ dirPrice[i] = td.dirPrice[i];
return *this;
}