diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-22 15:38:05 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-27 13:45:45 (GMT) |
commit | cdfc4e31953274be9b745614b4b7620d365a7b5e (patch) | |
tree | d730ed1a5258286efbd83ac84e4a24f075bfa2aa /Source/cmQtAutoMocUic.cxx | |
parent | 808b17b1206dd70c7fbd676e8c24181cde537954 (diff) | |
download | CMake-cdfc4e31953274be9b745614b4b7620d365a7b5e.zip CMake-cdfc4e31953274be9b745614b4b7620d365a7b5e.tar.gz CMake-cdfc4e31953274be9b745614b4b7620d365a7b5e.tar.bz2 |
clang-tidy: fix `readability-qualified-auto` warnings
Diffstat (limited to 'Source/cmQtAutoMocUic.cxx')
-rw-r--r-- | Source/cmQtAutoMocUic.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoMocUic.cxx b/Source/cmQtAutoMocUic.cxx index 3556051..a9cc1c6 100644 --- a/Source/cmQtAutoMocUic.cxx +++ b/Source/cmQtAutoMocUic.cxx @@ -2708,7 +2708,7 @@ void cmQtAutoMocUicT::CreateParseJobs(SourceFileMapT const& sourceMap) { cmFileTime const parseCacheTime = this->BaseEval().ParseCacheTime; ParseCacheT& parseCache = this->BaseEval().ParseCache; - for (auto& src : sourceMap) { + for (const auto& src : sourceMap) { // Get or create the file parse data reference ParseCacheT::GetOrInsertT cacheEntry = parseCache.GetOrInsert(src.first); src.second->ParseData = std::move(cacheEntry.first); |