diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-22 19:54:33 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-29 17:39:45 (GMT) |
commit | 501408338aa403d9af50b2ba60f816cec5dcc06b (patch) | |
tree | 91d7772f4544f85fc8ffb624bc3d71b00558594a /Source/cmVisualStudioSlnData.cxx | |
parent | 1f893e587371cbce2007cae55c118fcf50dca849 (diff) | |
download | CMake-501408338aa403d9af50b2ba60f816cec5dcc06b.zip CMake-501408338aa403d9af50b2ba60f816cec5dcc06b.tar.gz CMake-501408338aa403d9af50b2ba60f816cec5dcc06b.tar.bz2 |
clang-tidy: fix `readability-isolate-declaration` lints
Diffstat (limited to 'Source/cmVisualStudioSlnData.cxx')
-rw-r--r-- | Source/cmVisualStudioSlnData.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudioSlnData.cxx b/Source/cmVisualStudioSlnData.cxx index fe261dd..8ed0ab8 100644 --- a/Source/cmVisualStudioSlnData.cxx +++ b/Source/cmVisualStudioSlnData.cxx @@ -42,7 +42,8 @@ const cm::optional<cmSlnProjectEntry> cmSlnData::GetProjectByName( std::vector<cmSlnProjectEntry> cmSlnData::GetProjects() const { - auto it(this->ProjectNameIndex.begin()), itEnd(this->ProjectNameIndex.end()); + auto it(this->ProjectNameIndex.begin()); + auto itEnd(this->ProjectNameIndex.end()); std::vector<cmSlnProjectEntry> result; for (; it != itEnd; ++it) { result.push_back(it->second->second); |