summaryrefslogtreecommitdiff
path: root/src/net/ea/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-26 13:10:46 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-26 13:10:46 +0300
commitdabd3fcef84f2e32c34c2d514bb8420628288bc8 (patch)
tree146672024c08d3d123fae58c5dc502164fd34b82 /src/net/ea/charserverhandler.cpp
parent6a9b7eb45844274b0a4b6d52f7f32aa724541468 (diff)
downloadmv-dabd3fcef84f2e32c34c2d514bb8420628288bc8.tar.gz
mv-dabd3fcef84f2e32c34c2d514bb8420628288bc8.tar.bz2
mv-dabd3fcef84f2e32c34c2d514bb8420628288bc8.tar.xz
mv-dabd3fcef84f2e32c34c2d514bb8420628288bc8.zip
add restrict into charserverhandler.
Diffstat (limited to 'src/net/ea/charserverhandler.cpp')
-rw-r--r--src/net/ea/charserverhandler.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index b59c2b536..c7e1b226e 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -232,9 +232,9 @@ void CharServerHandler::clear()
mCharacters.clear();
}
-void CharServerHandler::processCharMapInfo(Net::MessageIn &msg,
- Network *const network,
- ServerInfo &server)
+void CharServerHandler::processCharMapInfo(Net::MessageIn &restrict msg,
+ Network *restrict const network,
+ ServerInfo &restrict server)
{
BLOCK_START("CharServerHandler::processCharMapInfo")
// msg.skip(4); // CharID, must be the same as player_node->charID
@@ -267,9 +267,10 @@ void CharServerHandler::processCharMapInfo(Net::MessageIn &msg,
BLOCK_END("CharServerHandler::processCharMapInfo")
}
-void CharServerHandler::processChangeMapServer(Net::MessageIn &msg,
- Network *const network,
- ServerInfo &server) const
+void CharServerHandler::processChangeMapServer(Net::MessageIn &restrict msg,
+ Network *restrict const network,
+ ServerInfo &restrict server)
+ const
{
BLOCK_START("CharServerHandler::processChangeMapServer")
GameHandler *const gh = static_cast<GameHandler*>(Net::getGameHandler());