From ffeffa2314dbe03e0ced58e0c465760b54908690 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Apr 2013 17:55:36 +0300 Subject: fix cide style. Add explicit keyword to some constructors. --- src/net/tmwa/loginhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/tmwa') 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, '|'); -- cgit v1.2.3-70-g09d2