diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-04 03:07:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-04 03:41:46 +0300 |
commit | 4b2cb3433c82ba4ba28be8de82e0a49df7f3e388 (patch) | |
tree | 60f063d56d0aa316cfee4c1e1340b69cc992ede1 /src/net | |
parent | d5eb424dcd214b4646a960e04b9271e70b096856 (diff) | |
download | plus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.gz plus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.bz2 plus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.tar.xz plus-4b2cb3433c82ba4ba28be8de82e0a49df7f3e388.zip |
Replace some lists to vectors.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/manaserv/attributes.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<ItemDB::Stat> dbStats; + std::vector<ItemDB::Stat> 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<ItemDB::Stat> stats; + std::vector<ItemDB::Stat> 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"))); |