mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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