X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/512f2e6baf82bb22e05ee583741ca4209480e783..a6b0423977ee2ad532b4e5341eaf41e7197804b2:/tests/testtariffs.h?ds=sidebyside diff --git a/tests/testtariffs.h b/tests/testtariffs.h index fb7b1fe2..f43bc22b 100644 --- a/tests/testtariffs.h +++ b/tests/testtariffs.h @@ -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 *) {} void DelNotifierDel(NOTIFIER_BASE *) {} - void GetTariffsData(std::list * /*tdl*/) {} + void GetTariffsData(std::list * /*tdl*/) const {} size_t Count() const { return 0; }