From 3bf4e26b1319295532bb4396cbd6406d85cbcae0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Mar 2012 03:51:37 +0300 Subject: Replace vectors with strings to short names. --- src/net/tmwa/loginhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp index a2c5034d6..242270d13 100644 --- a/src/net/tmwa/loginhandler.cpp +++ b/src/net/tmwa/loginhandler.cpp @@ -197,8 +197,8 @@ void LoginHandler::processUpdateHost2(Net::MessageIn &msg) std::string updateHost = msg.readString(len); splitToStringVector(loginData.updateHosts, updateHost, '|'); - std::vector::iterator it = loginData.updateHosts.begin(); - std::vector::iterator it_end = loginData.updateHosts.end(); + StringVectIter it = loginData.updateHosts.begin(); + StringVectIter it_end = loginData.updateHosts.end(); for (; it != it_end; ++ it) { if (!checkPath(*it)) -- cgit v1.2.3-70-g09d2