Fixed tons of warnings and clazy findings (#811)

This commit is contained in:
niansa/tuxifan
2023-06-02 21:46:41 +02:00
committed by GitHub
parent d6a70ddb5f
commit f3564ac6b9
12 changed files with 28 additions and 25 deletions

View File

@@ -192,7 +192,7 @@ QHttpServerResponse Server::handleCompletionRequest(const QHttpServerRequest &re
prompts.append(promptValue.toString());
else {
QJsonArray array = promptValue.toArray();
for (QJsonValue v : array)
for (const QJsonValue &v : array)
prompts.append(v.toString());
}
} else