diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-10 02:13:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-10 03:07:44 +0300 |
commit | 0dae81cae8d0d95b137f2fca1f74b7aa14e964ce (patch) | |
tree | 73476a1f0d7296286f10261c0aa4457961389835 /src/net/eathena/network.h | |
parent | 45f076bd429c40d81607f43837f1cc571f3f6be0 (diff) | |
download | manaplus-0dae81cae8d0d95b137f2fca1f74b7aa14e964ce.tar.gz manaplus-0dae81cae8d0d95b137f2fca1f74b7aa14e964ce.tar.bz2 manaplus-0dae81cae8d0d95b137f2fca1f74b7aa14e964ce.tar.xz manaplus-0dae81cae8d0d95b137f2fca1f74b7aa14e964ce.zip |
Improve network code speed.
Diffstat (limited to 'src/net/eathena/network.h')
-rw-r--r-- | src/net/eathena/network.h | 4 |
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; }; |