summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 22:18:18 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 22:18:18 +0300
commit378cef9bda1c4c7e74ab24680fff19ce6e9326a4 (patch)
tree9af7c997614e96fa4118d2e74ce9262c252e82d7 /src/net
parentaae328e272cdec136a1367cf83a5873a6b4963a9 (diff)
downloadmanaverse-378cef9bda1c4c7e74ab24680fff19ce6e9326a4.tar.gz
manaverse-378cef9bda1c4c7e74ab24680fff19ce6e9326a4.tar.bz2
manaverse-378cef9bda1c4c7e74ab24680fff19ce6e9326a4.tar.xz
manaverse-378cef9bda1c4c7e74ab24680fff19ce6e9326a4.zip
Fix code style.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/network.cpp2
-rw-r--r--src/net/tmwa/network.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/network.cpp b/src/net/eathena/network.cpp
index a240a3a74..ef772248f 100644
--- a/src/net/eathena/network.cpp
+++ b/src/net/eathena/network.cpp
@@ -243,7 +243,7 @@ MessageIn *Network::getNextMessage()
msgId, len));
#endif
- MessageIn *msg = new MessageIn(mInBuffer, len);
+ MessageIn *const msg = new MessageIn(mInBuffer, len);
SDL_mutexV(mMutex);
return msg;
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp
index 278f8e2fd..c8c28e0d2 100644
--- a/src/net/tmwa/network.cpp
+++ b/src/net/tmwa/network.cpp
@@ -221,7 +221,7 @@ MessageIn *Network::getNextMessage()
// msgId, len));
#endif
- MessageIn *msg = new MessageIn(mInBuffer, len);
+ MessageIn *const msg = new MessageIn(mInBuffer, len);
SDL_mutexV(mMutex);
return msg;