summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-22 14:00:36 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-29 12:39:45 -0500
commit714a466eeb42809fa56d78d6aef6cde70d938af5 (patch)
tree3da0f6bfd63482bf0af78ae0244842f199478b7e /Source/cmGlobalVisualStudio7Generator.cxx
parent6d2aa54d620a6526cc23e59b30ee0191d61ac59d (diff)
downloadcmake-714a466eeb42809fa56d78d6aef6cde70d938af5.tar.gz
clang-tidy: fix `readability-container-size-empty` lints
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index ed1f3330cc..69b3c22f69 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -457,7 +457,7 @@ void cmGlobalVisualStudio7Generator::WriteTargetsToSolution(
std::string cumulativePath;
for (std::string const& iter : tokens) {
- if (!iter.size()) {
+ if (iter.empty()) {
continue;
}