]> git.stg.codes - stg.git/blobdiff - tests/testtariffs.h
Remove std::list from tariffs.
[stg.git] / tests / testtariffs.h
index a2b14142187ad68ec099ebd19e3d9817a78479fc..11c4cfff0b0885eedb283045c66d374265d75933 100644 (file)
@@ -7,7 +7,7 @@
 
 class TEST_TARIFFS : public TARIFFS {
     public:
-        TEST_TARIFFS() {}
+        TEST_TARIFFS() : testTariff("") {}
 
         int            ReadTariffs () { return 0; }
         const TARIFF * FindByName(const std::string & /*name*/) const { return &testTariff; }
@@ -22,7 +22,7 @@ class TEST_TARIFFS : public TARIFFS {
         void AddNotifierDel(NOTIFIER_BASE<TARIFF_DATA> *) {}
         void DelNotifierDel(NOTIFIER_BASE<TARIFF_DATA> *) {}
 
-        void           GetTariffsData(std::list<TARIFF_DATA> * /*tdl*/) const {}
+        void           GetTariffsData(std::vector<TARIFF_DATA> * /*tdl*/) const {}
 
         size_t         Count() const { return 0; }