X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9701b7ab4dc4cd709ad4dcaa750fc0021f15e231..a5ab34fe53b0dca6307703664c6a1bc5bab1bae8:/include/stg/tariff.h diff --git a/include/stg/tariff.h b/include/stg/tariff.h index b19ec476..a5b1d2e9 100644 --- a/include/stg/tariff.h +++ b/include/stg/tariff.h @@ -30,6 +30,7 @@ class TARIFF { public: + virtual ~TARIFF() {} virtual double GetPriceWithTraffType(uint64_t up, uint64_t down, int dir, @@ -46,11 +47,6 @@ 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 TARIFF & operator=(const TARIFF_DATA & td) = 0; - virtual TARIFF & operator=(const TARIFF & t) = 0; - virtual bool operator==(const TARIFF & rhs) const = 0; - virtual bool operator!=(const TARIFF & rhs) const = 0; }; #endif