summaryrefslogtreecommitdiffstats
path: root/Source/CPack/WiX
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-07-27 22:22:41 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-07-31 00:19:48 (GMT)
commit32fe862b8cf35de9221f7ccc8145fcbf80c7041d (patch)
tree24af70358275b6de752038eb6f31e5234e327dd4 /Source/CPack/WiX
parent7eaab9a957fd8c86641d8400c37c40f27e70c215 (diff)
downloadCMake-32fe862b8cf35de9221f7ccc8145fcbf80c7041d.zip
CMake-32fe862b8cf35de9221f7ccc8145fcbf80c7041d.tar.gz
CMake-32fe862b8cf35de9221f7ccc8145fcbf80c7041d.tar.bz2
clang-tidy: fix `readability-container-size-empty` lints
Diffstat (limited to 'Source/CPack/WiX')
-rw-r--r--Source/CPack/WiX/cmCPackWIXGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/WiX/cmCPackWIXGenerator.cxx b/Source/CPack/WiX/cmCPackWIXGenerator.cxx
index 31ddb0e..2853ab9 100644
--- a/Source/CPack/WiX/cmCPackWIXGenerator.cxx
+++ b/Source/CPack/WiX/cmCPackWIXGenerator.cxx
@@ -803,7 +803,7 @@ bool cmCPackWIXGenerator::CreateShortcutsOfSpecificType(
}
std::string componentId = "CM_SHORTCUT";
- if (idPrefix.size()) {
+ if (!idPrefix.empty()) {
componentId += cmStrCat('_', idPrefix);
}