diff options
Diffstat (limited to 'src/lib/corelib/buildgraph/transformerchangetracking.cpp')
-rw-r--r-- | src/lib/corelib/buildgraph/transformerchangetracking.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/corelib/buildgraph/transformerchangetracking.cpp b/src/lib/corelib/buildgraph/transformerchangetracking.cpp index 4ee4394fd..eadc99272 100644 --- a/src/lib/corelib/buildgraph/transformerchangetracking.cpp +++ b/src/lib/corelib/buildgraph/transformerchangetracking.cpp @@ -209,8 +209,8 @@ bool TrafoChangeTracker::isExportedModuleUpToDate(const QString &productName, bool TrafoChangeTracker::areExportedModulesUpToDate( const std::unordered_map<QString, ExportedModule> exportedModules) const { - for (auto it = exportedModules.begin(); it != exportedModules.end(); ++it) { - if (!isExportedModuleUpToDate(it->first, it->second)) + for (const auto &kv : exportedModules) { + if (!isExportedModuleUpToDate(kv.first, kv.second)) return false; } return true; |