From 43e99491a76bb85faf60c004e84b6c2b14cf41e7 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 26 Apr 2009 17:05:18 +0200 Subject: Standardize on the position of the const keyword Same as for the client. --- src/account-server/accounthandler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/account-server/accounthandler.cpp') diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp index 425a42ac..e785d809 100644 --- a/src/account-server/accounthandler.cpp +++ b/src/account-server/accounthandler.cpp @@ -108,7 +108,7 @@ void AccountClientHandler::process() accountHandler->process(50); } -void AccountClientHandler::prepareReconnect(std::string const &token, int id) +void AccountClientHandler::prepareReconnect(const std::string &token, int id) { accountHandler->mTokenCollector.addPendingConnect(token, id); } @@ -129,7 +129,8 @@ void AccountHandler::computerDisconnected(NetComputer *comp) delete computer; // ~AccountClient unsets the account } -static void sendCharacterData(AccountClient &computer, int slot, Character const &ch) +static void sendCharacterData(AccountClient &computer, int slot, + const Character &ch) { MessageOut charInfo(APMSG_CHAR_INFO); charInfo.writeByte(slot); -- cgit v1.2.3-60-g2f50