summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 17:55:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commitffeffa2314dbe03e0ced58e0c465760b54908690 (patch)
tree3da4d65e43a4b55aed7c01ec612c9dec50d1bd1c /src/net/tmwa
parentae550d179c25e149f7e8a8d70011b364fb0d85d6 (diff)
downloadmanaplus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.gz
manaplus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.bz2
manaplus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.xz
manaplus-ffeffa2314dbe03e0ced58e0c465760b54908690.zip
fix cide style.
Add explicit keyword to some constructors.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/loginhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp
index b68980969..fca7e904c 100644
--- a/src/net/tmwa/loginhandler.cpp
+++ b/src/net/tmwa/loginhandler.cpp
@@ -213,7 +213,7 @@ void LoginHandler::processServerVersion(Net::MessageIn &msg)
void LoginHandler::processUpdateHost2(Net::MessageIn &msg) const
{
- int len = msg.readInt16() - 4;
+ const int len = msg.readInt16() - 4;
const std::string updateHost = msg.readString(len);
splitToStringVector(loginData.updateHosts, updateHost, '|');