summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-10-13 14:47:54 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-10-13 14:47:54 +0200
commitf72c725804eab4ba576465db8cf90cca25912c62 (patch)
tree39fe90613b6a392f5d57f3f2d88c15b73a838108
parent336ce321a9b996e56a61a5364bb32124efa84dd9 (diff)
downloadmanaserv-f72c725804eab4ba576465db8cf90cca25912c62.tar.gz
manaserv-f72c725804eab4ba576465db8cf90cca25912c62.tar.bz2
manaserv-f72c725804eab4ba576465db8cf90cca25912c62.tar.xz
manaserv-f72c725804eab4ba576465db8cf90cca25912c62.zip
Changed argument to const &
-rw-r--r--src/account-server/accounthandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp
index 991374dd..b01a16bc 100644
--- a/src/account-server/accounthandler.cpp
+++ b/src/account-server/accounthandler.cpp
@@ -297,7 +297,8 @@ static void sendCharacterData(MessageOut &charInfo, const CharacterData *ch)
}
}
-static void sendFullCharacterData(AccountClient *client, Characters &chars)
+static void sendFullCharacterData(AccountClient *client,
+ const Characters &chars)
{
MessageOut msg(APMSG_CHAR_INFO);
for (auto &charIt : chars)