diff --git a/src/scrobbler/scrobblingapi20.cpp b/src/scrobbler/scrobblingapi20.cpp index 437e00c1e..a91f9e994 100644 --- a/src/scrobbler/scrobblingapi20.cpp +++ b/src/scrobbler/scrobblingapi20.cpp @@ -20,7 +20,6 @@ #include "config.h" #include -#include #include #include @@ -721,7 +720,7 @@ void ScrobblingAPI20::ScrobbleRequestFinished(QNetworkReply *reply, const QList< return; } - for (const QJsonValueRef value : std::as_const(array_scrobble)) { + for (const QJsonValueRef value : array_scrobble) { // clazy:exclude=range-loop if (!value.isObject()) { Error("Json scrobbles scrobble array value is not an object.");