]> git.stg.codes - stg.git/blobdiff - include/stg/tariff.h
Replace == with -eq for numeric comparison
[stg.git] / include / stg / tariff.h
index 189dde5916c6dfe96a2817be093b5c53a9dd5097..a5b1d2e9253ad3a441e283e3409e19c4dd0ae6a4 100644 (file)
@@ -30,6 +30,7 @@
 
 class TARIFF {
 public:
+    virtual ~TARIFF() {}
     virtual double  GetPriceWithTraffType(uint64_t up,
                                           uint64_t down,
                                           int dir,