diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-30 23:14:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-01 02:08:53 +0300 |
commit | 32014de9008efe051a1a8b05e5e976a4629b34d2 (patch) | |
tree | 694b93739685b8b8462c7f602b8ae693be5e65bf /src/net | |
parent | 5c260f683e26529d7cf02c12c1fff70a7a7e5eb8 (diff) | |
download | ManaVerse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.gz ManaVerse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.bz2 ManaVerse-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.xz ManaVerse-32014de9008efe051a1a8b05e5e976a4629b34d2.zip |
Replace some lists to vectors.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/inventoryhandler.h | 3 |
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 { |