diff options
author | Robert Adam <dev@robert-adam.de> | 2020-02-27 18:04:24 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2020-02-27 18:04:24 +0300 |
commit | 2fe853b042acf51aba90c5f012aae73864244d3c (patch) | |
tree | 3738cacae596b6dfcffac35f99638b8b740c6c5d /src/murmur/Messages.cpp | |
parent | cb00b828e19a072abf8734fd76344150003e6669 (diff) |
murmur/Messages.cpp: Use const reference in foreach loop
Diffstat (limited to 'src/murmur/Messages.cpp')
-rw-r--r-- | src/murmur/Messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/Messages.cpp b/src/murmur/Messages.cpp index 211683a63..ef4399c76 100644 --- a/src/murmur/Messages.cpp +++ b/src/murmur/Messages.cpp @@ -127,7 +127,7 @@ class TemporaryAccessTokenHelper { QMutexLocker qml(&server->qmCache); // remove the temporary tokens - foreach(QString token, this->qslTemporaryTokens) { + foreach(const QString &token, this->qslTemporaryTokens) { this->affectedUser->qslAccessTokens.removeOne(token); } } |