summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-30 23:14:59 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-01 02:08:53 +0300
commit32014de9008efe051a1a8b05e5e976a4629b34d2 (patch)
tree694b93739685b8b8462c7f602b8ae693be5e65bf /src/net/tmwa/inventoryhandler.h
parent5c260f683e26529d7cf02c12c1fff70a7a7e5eb8 (diff)
downloadmanaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.gz
manaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.bz2
manaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.xz
manaverse-32014de9008efe051a1a8b05e5e976a4629b34d2.zip
Replace some lists to vectors.
Diffstat (limited to 'src/net/tmwa/inventoryhandler.h')
-rw-r--r--src/net/tmwa/inventoryhandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/inventoryhandler.h b/src/net/tmwa/inventoryhandler.h
index c6c680b13..4bc45cdb3 100644
--- a/src/net/tmwa/inventoryhandler.h
+++ b/src/net/tmwa/inventoryhandler.h
@@ -36,6 +36,7 @@
#include "net/tmwa/messagehandler.h"
#include <list>
+#include <vector>
#include <queue>
#ifdef __GNUC__
@@ -127,7 +128,7 @@ class InventoryItem
}
};
-typedef std::list<InventoryItem> InventoryItems;
+typedef std::vector<InventoryItem> InventoryItems;
class InventoryHandler : public MessageHandler, public Net::InventoryHandler
{