X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ba96013ed9ad6732284db1487c8a615343cc8c64..77aa0c79adcc95d641fd17a246cfebf0eba56bd0:/include/stg/tariff_conf.h?ds=inline diff --git a/include/stg/tariff_conf.h b/include/stg/tariff_conf.h index 9de30830..cee3b4a5 100644 --- 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; }