diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-22 18:56:03 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-29 17:39:29 (GMT) |
commit | c61ece5c40a30e99e0f3a45c76dd802a14e4db96 (patch) | |
tree | fb42fb1dfd471174c1bb40a6c4eccd813fee499e /Source/cmGlobalVisualStudioVersionedGenerator.cxx | |
parent | 64c0702f91fb1e9ff8f6afd55d8fc79003426d6b (diff) | |
download | CMake-c61ece5c40a30e99e0f3a45c76dd802a14e4db96.zip CMake-c61ece5c40a30e99e0f3a45c76dd802a14e4db96.tar.gz CMake-c61ece5c40a30e99e0f3a45c76dd802a14e4db96.tar.bz2 |
clang-tidy: fix `modernize-use-auto` lints
Diffstat (limited to 'Source/cmGlobalVisualStudioVersionedGenerator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudioVersionedGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioVersionedGenerator.cxx b/Source/cmGlobalVisualStudioVersionedGenerator.cxx index 6fd4dd6..273bb8b 100644 --- a/Source/cmGlobalVisualStudioVersionedGenerator.cxx +++ b/Source/cmGlobalVisualStudioVersionedGenerator.cxx @@ -606,7 +606,7 @@ bool cmGlobalVisualStudioVersionedGenerator::ParseGeneratorInstance( this->GeneratorInstanceVersion.clear(); std::vector<std::string> const fields = cmTokenize(is, ","); - std::vector<std::string>::const_iterator fi = fields.begin(); + auto fi = fields.begin(); if (fi == fields.end()) { return true; } |