diff options
Diffstat (limited to 'src/net/network.h')
-rw-r--r-- | src/net/network.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/network.h b/src/net/network.h index 06abc445..f4637f73 100644 --- a/src/net/network.h +++ b/src/net/network.h @@ -89,7 +89,9 @@ class Network SDL_Thread *mWorkerThread; SDL_mutex *mMutex; - std::map<Uint16, MessageHandler*> mMessageHandlers; + typedef std::map<Uint16, MessageHandler*> MessageHandlers; + typedef MessageHandlers::iterator MessageHandlerIterator; + MessageHandlers mMessageHandlers; bool realConnect(); void receive(); |