summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-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
{