clazy:exclude=range-loop-reference

This commit is contained in:
Jonas Kvinge
2021-08-25 03:45:12 +02:00
parent e274e8070d
commit 978fb06349
5 changed files with 7 additions and 7 deletions

View File

@@ -583,7 +583,7 @@ void ScrobblingAPI20::Submit() {
int i = 0;
QList<quint64> list;
QList<ScrobblerCacheItemPtr> items = cache()->List();
for (ScrobblerCacheItemPtr item : items) { // clazy:exclude=range-loop
for (ScrobblerCacheItemPtr item : items) { // clazy:exclude=range-loop-reference
if (item->sent_) continue;
item->sent_ = true;
if (!batch_) {