diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-26 17:05:18 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-26 17:18:21 +0200 |
commit | 43e99491a76bb85faf60c004e84b6c2b14cf41e7 (patch) | |
tree | 4aba689b76138118b4da043425fb3e8576db418c /src/account-server/accounthandler.cpp | |
parent | e726c34606f85347e70a0deb6b180db03b6d0c25 (diff) | |
download | manaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.tar.gz manaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.tar.bz2 manaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.tar.xz manaserv-43e99491a76bb85faf60c004e84b6c2b14cf41e7.zip |
Standardize on the position of the const keyword
Same as for the client.
Diffstat (limited to 'src/account-server/accounthandler.cpp')
-rw-r--r-- | src/account-server/accounthandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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); |