1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-20 04:24:36 +08:00

clang-tidy: fix readability-container-size-empty lints

This commit is contained in:
Ben Boeckel
2023-07-27 18:22:41 -04:00
parent 7eaab9a957
commit 32fe862b8c

View File

@@ -803,7 +803,7 @@ bool cmCPackWIXGenerator::CreateShortcutsOfSpecificType(
}
std::string componentId = "CM_SHORTCUT";
if (idPrefix.size()) {
if (!idPrefix.empty()) {
componentId += cmStrCat('_', idPrefix);
}