summaryrefslogtreecommitdiff
path: root/src/net/tmwa/network.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-10 02:13:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-10 03:07:44 +0300
commit0dae81cae8d0d95b137f2fca1f74b7aa14e964ce (patch)
tree73476a1f0d7296286f10261c0aa4457961389835 /src/net/tmwa/network.h
parent45f076bd429c40d81607f43837f1cc571f3f6be0 (diff)
downloadplus-0dae81cae8d0d95b137f2fca1f74b7aa14e964ce.tar.gz
plus-0dae81cae8d0d95b137f2fca1f74b7aa14e964ce.tar.bz2
plus-0dae81cae8d0d95b137f2fca1f74b7aa14e964ce.tar.xz
plus-0dae81cae8d0d95b137f2fca1f74b7aa14e964ce.zip
Improve network code speed.
Diffstat (limited to 'src/net/tmwa/network.h')
-rw-r--r--src/net/tmwa/network.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/tmwa/network.h b/src/net/tmwa/network.h
index 7806147a9..9878239d5 100644
--- a/src/net/tmwa/network.h
+++ b/src/net/tmwa/network.h
@@ -70,9 +70,7 @@ class Network final : public Ea::Network
static Network *instance() A_WARN_UNUSED;
- typedef std::map<uint16_t, MessageHandler*> MessageHandlers;
- typedef MessageHandlers::iterator MessageHandlerIterator;
- MessageHandlers mMessageHandlers;
+ MessageHandler **mMessageHandlers;
static Network *mInstance;
};