mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 12:53:55 +08: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