]> git.stg.codes - stg.git/blobdiff - include/stg/tariff_conf.h
ticket 37. The newTariff, currentTariff objects added, if (newTariff)
[stg.git] / include / stg / tariff_conf.h
index 9de3083042cd5f55ddc839c6174590d655c4d066..cee3b4a5237d9f446caec2580cd6ef7c6fde54c2 100644 (file)
@@ -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;
         }