summaryrefslogtreecommitdiff
path: root/src/utils/tokencollector.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-26 17:05:18 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-26 17:18:21 +0200
commit43e99491a76bb85faf60c004e84b6c2b14cf41e7 (patch)
tree4aba689b76138118b4da043425fb3e8576db418c /src/utils/tokencollector.cpp
parente726c34606f85347e70a0deb6b180db03b6d0c25 (diff)
downloadmanaserv-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/utils/tokencollector.cpp')
-rw-r--r--src/utils/tokencollector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/tokencollector.cpp b/src/utils/tokencollector.cpp
index 0719b444..df21e631 100644
--- a/src/utils/tokencollector.cpp
+++ b/src/utils/tokencollector.cpp
@@ -27,7 +27,7 @@
failure, especially a timeout. So we search the lists forward when removing
data, in order to start from the older ones. */
-void TokenCollectorBase::insertClient(std::string const &token, intptr_t data)
+void TokenCollectorBase::insertClient(const std::string &token, intptr_t data)
{
for (std::list<Item>::reverse_iterator it = mPendingConnects.rbegin(),
it_end = mPendingConnects.rend(); it != it_end; ++it)
@@ -51,7 +51,7 @@ void TokenCollectorBase::insertClient(std::string const &token, intptr_t data)
removeOutdated(current);
}
-void TokenCollectorBase::insertConnect(std::string const &token, intptr_t data)
+void TokenCollectorBase::insertConnect(const std::string &token, intptr_t data)
{
for (std::list<Item>::reverse_iterator it = mPendingClients.rbegin(),
it_end = mPendingClients.rend(); it != it_end; ++it)