From 4b2cb3433c82ba4ba28be8de82e0a49df7f3e388 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 4 Jul 2011 03:07:26 +0300 Subject: Replace some lists to vectors. --- src/net/manaserv/attributes.cpp | 2 +- src/net/tmwa/generalhandler.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net') diff --git a/src/net/manaserv/attributes.cpp b/src/net/manaserv/attributes.cpp index fa95a3d6d..b48cc9eff 100644 --- a/src/net/manaserv/attributes.cpp +++ b/src/net/manaserv/attributes.cpp @@ -380,7 +380,7 @@ namespace Attributes void informItemDB() { - std::list dbStats; + std::vector dbStats; TagMap::const_iterator it, it_end; for (it = tags.begin(), it_end = tags.end(); it != it_end; ++it) diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index b091267b7..7993c24dc 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -103,7 +103,7 @@ GeneralHandler::GeneralHandler(): handledMessages = _messages; generalHandler = this; - std::list stats; + std::vector stats; stats.push_back(ItemDB::Stat("str", _("Strength %+d"))); stats.push_back(ItemDB::Stat("agi", _("Agility %+d"))); stats.push_back(ItemDB::Stat("vit", _("Vitality %+d"))); -- cgit v1.2.3-70-g09d2