forked from qt-creator/qt-creator
AutoTest: performance-for-range-copy
Change-Id: I60e79aec1fe2813867d8ff46cec7d39b848d0020 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user