aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/artifactcleaner.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-01-31 10:18:24 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2017-02-21 17:25:16 +0000
commitb1b58a735a8d6f8f9fb586a877c145326f4b1628 (patch)
treec4b4c37e3469df8a355d82bf1b1c882d569a5c2a /src/lib/corelib/buildgraph/artifactcleaner.cpp
parent1c65b79eb3da939de372b10b603729c4621caba8 (diff)
Remove all usages of Q_FOREACH from the library
This will make it easier to experiment with exchanging Qt containers for STL ones, for instance. Change-Id: Ie591fa54b5241ad4841b1ebcfb78b72932cd2b38 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/artifactcleaner.cpp')
-rw-r--r--src/lib/corelib/buildgraph/artifactcleaner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/artifactcleaner.cpp b/src/lib/corelib/buildgraph/artifactcleaner.cpp
index 22efa2ab2..b35120c55 100644
--- a/src/lib/corelib/buildgraph/artifactcleaner.cpp
+++ b/src/lib/corelib/buildgraph/artifactcleaner.cpp
@@ -166,7 +166,7 @@ void ArtifactCleaner::cleanup(const TopLevelProjectPtr &project,
m_observer->initialize(Tr::tr("Cleaning up%1").arg(configString), products.count() + 1);
Set<QString> directories;
- foreach (const ResolvedProductPtr &product, products) {
+ for (const ResolvedProductPtr &product : products) {
CleanupVisitor visitor(options, m_observer, m_logger);
visitor.visitProduct(product);
directories.unite(visitor.directories());