mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
clang-tidy: fix readability-container-size-empty lints
This commit is contained in:
@@ -803,7 +803,7 @@ bool cmCPackWIXGenerator::CreateShortcutsOfSpecificType(
|
||||
}
|
||||
|
||||
std::string componentId = "CM_SHORTCUT";
|
||||
if (idPrefix.size()) {
|
||||
if (!idPrefix.empty()) {
|
||||
componentId += cmStrCat('_', idPrefix);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user