summaryrefslogtreecommitdiffstats
path: root/qmake/option.h
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/option.h')
-rw-r--r--qmake/option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/option.h b/qmake/option.h
index 26cfccf5d2..8b9e2f1027 100644
--- a/qmake/option.h
+++ b/qmake/option.h
@@ -153,7 +153,7 @@ struct Option
inline static bool hasFileExtension(const QString &str, const QStringList &extensions)
{
- foreach (const QString &ext, extensions)
+ for (const QString &ext : extensions)
if (str.endsWith(ext))
return true;
return false;