AutoTest: performance-for-range-copy

Change-Id: I60e79aec1fe2813867d8ff46cec7d39b848d0020
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Alessandro Portale
2020-06-11 16:53:11 +02:00
parent 4766ad2d18
commit bb89b80097
6 changed files with 7 additions and 7 deletions

View File

@@ -76,7 +76,7 @@ static QStringList filterInterfering(const QStringList &provided, QStringList *o
QStringList allowed;
bool filterNextArg = false;
bool ignoreRest = false;
for (auto arg : provided) {
for (const auto &arg : provided) {
bool filterArg = filterNextArg;
filterNextArg = false;
if (ignoreRest) {