X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d0adbf3d56cb2e95fae085700c3e305b134cbaf0..9eb38c7fb7d4384f82e3ce55071f90ff7d490063:/tests/testtariffs.h diff --git a/tests/testtariffs.h b/tests/testtariffs.h index 68279aca..2e4dd5f0 100644 --- a/tests/testtariffs.h +++ b/tests/testtariffs.h @@ -10,14 +10,15 @@ class TEST_TARIFFS : public TARIFFS { TEST_TARIFFS() {} int ReadTariffs () { return 0; } - const TARIFF * FindByName(const std::string & name) const { return &testTariff; } + const TARIFF * FindByName(const std::string & /*name*/) const { return &testTariff; } const TARIFF * GetNoTariff() const { return NULL; } - int GetTariffsNum() const { return 0; } - int Del(const std::string & name, const ADMIN * admin) { return 0; } - int Add(const std::string & name, const ADMIN * admin) { return 0; } - int Chg(const TARIFF_DATA & td, const ADMIN * admin) { return 0; } + int Del(const std::string & /*name*/, const ADMIN * /*admin*/) { return 0; } + int Add(const std::string & /*name*/, const ADMIN * /*admin*/) { return 0; } + int Chg(const TARIFF_DATA & /*td*/, const ADMIN * /*admin*/) { return 0; } - void GetTariffsData(std::list * tdl) {} + void GetTariffsData(std::list * /*tdl*/) {} + + size_t Count() const { return 0; } const std::string & GetStrError() const { return strError; }