summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenInitializer.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2023-04-26 13:27:46 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2023-04-29 07:54:22 (GMT)
commit87fe031a0703f07b8636f8ea59b6746788e71869 (patch)
treec5dd5704ef8688c65e9eae923299d5a00c76f3c9 /Source/cmQtAutoGenInitializer.cxx
parentf9da4cf8f1c56333511661de9fc74f4b82c1675b (diff)
downloadCMake-87fe031a0703f07b8636f8ea59b6746788e71869.zip
CMake-87fe031a0703f07b8636f8ea59b6746788e71869.tar.gz
CMake-87fe031a0703f07b8636f8ea59b6746788e71869.tar.bz2
cmList class: various enhancements
Diffstat (limited to 'Source/cmQtAutoGenInitializer.cxx')
-rw-r--r--Source/cmQtAutoGenInitializer.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx
index 4c45949..9f00a52 100644
--- a/Source/cmQtAutoGenInitializer.cxx
+++ b/Source/cmQtAutoGenInitializer.cxx
@@ -559,9 +559,7 @@ bool cmQtAutoGenInitializer::InitCustomTargets()
"Q_PLUGIN_METADATA",
"[\n][ \t]*Q_PLUGIN_METADATA[ \t]*\\("
"[^\\)]*FILE[ \t]*\"([^\"]+)\"");
- for (cmList::index_type ii = 0;
- ii != static_cast<cmList::index_type>(filterList.size());
- ii += 2) {
+ for (cmList::size_type ii = 0; ii != filterList.size(); ii += 2) {
this->Moc.DependFilters.emplace_back(filterList[ii],
filterList[ii + 1]);
}