summaryrefslogtreecommitdiff
path: root/src/net/eathena/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/eathena/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/eathena/network.h')
-rw-r--r--src/net/eathena/network.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/eathena/network.h b/src/net/eathena/network.h
index 52ab60a90..e2405f63d 100644
--- a/src/net/eathena/network.h
+++ b/src/net/eathena/network.h
@@ -69,9 +69,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;
};