]> git.stg.codes - stg.git/blobdiff - projects/stargazer/tariff_impl.h
Ticket. Changed switch to a chain of ifs.
[stg.git] / projects / stargazer / tariff_impl.h
index 8fc32fcf404b01c1c7ee60b8ec91ad580ce498fa..324be186aa9a57a95e1830017e55c4aa1884b198 100644 (file)
@@ -72,7 +72,7 @@ public:
     double  GetFee() const { return tariffData.tariffConf.fee; }
     double  GetFree() const { return tariffData.tariffConf.free; }
     PERIOD  GetPeriod() const { return tariffData.tariffConf.period; }
-    CHANGE_POLICY  GetChangePolicy() const { return tariffData.tariffConf.change_policy; }
+    CHANGE_POLICY GetChangePolicy() const { return tariffData.tariffConf.changePolicy; }
 
     void    Print() const;