]> git.stg.codes - stg.git/blobdiff - include/stg/tariff.h
Ticket 37. The message variable definition moved from if() construction
[stg.git] / include / stg / tariff.h
index 135c687397eed4239d2d74b109ac4652c24380a0..9bd9973eaa5cedebbe33f91b236e3a1df3de1995 100644 (file)
@@ -67,7 +67,7 @@ public:
     virtual int64_t GetTraffByType(uint64_t up, uint64_t down) const = 0;
     virtual int     GetThreshold(int dir) const = 0;
     virtual const TARIFF_DATA & GetTariffData() const = 0;
-    virtual std::string TariffChangelsAllowed(const TARIFF & to) const = 0;
+    virtual std::string TariffChangeIsAllowed(const TARIFF & to) const = 0;
 };
 
 inline