]> git.stg.codes - stg.git/blobdiff - stargazer/plugins/configuration/rpcconfig/tariffs_methods.cpp
Remove some more std::list.
[stg.git] / stargazer / plugins / configuration / rpcconfig / tariffs_methods.cpp
index 77d73b02091d379cca4e85565756ea8f736d58c7..bbb0a5be704ce7f3474475aef15f4bcf973c53b4 100644 (file)
@@ -107,9 +107,9 @@ if (config->GetAdminInfo(cookie, &adminInfo))
 std::vector<xmlrpc_c::value> tariffsInfo;
 
 
-std::list<TARIFF_DATA> dataList;
+std::vector<TARIFF_DATA> dataList;
 tariffs->GetTariffsData(&dataList);
-std::list<TARIFF_DATA>::const_iterator it = dataList.begin();
+auto it = dataList.begin();
 for (; it != dataList.end(); ++it)
     {
     xmlrpc_c::value info;