X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8337f36907f14b1e9979108800e82b8e0ca47a59..de9e44e256657beb5160021c7e4fd21d8a9a21d2:/stargazer/tariffs_impl.h diff --git a/stargazer/tariffs_impl.h b/stargazer/tariffs_impl.h index 55cc49b3..c4f0f883 100644 --- a/stargazer/tariffs_impl.h +++ b/stargazer/tariffs_impl.h @@ -31,7 +31,7 @@ #include "tariff_impl.h" #include -#include +#include #include #include @@ -45,7 +45,7 @@ class ADMIN; class TARIFFS_IMPL : public TARIFFS { public: - typedef std::list Tariffs; + using Tariffs = std::vector; explicit TARIFFS_IMPL(STORE * store); virtual ~TARIFFS_IMPL(); @@ -63,7 +63,7 @@ public: void AddNotifierDel(NOTIFIER_BASE * notifier); void DelNotifierDel(NOTIFIER_BASE * notifier); - void GetTariffsData(std::list * tdl) const; + void GetTariffsData(std::vector * tdl) const; const std::string & GetStrError() const { return strError; }