mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 12:53:55 +08:00
clang-tidy: use .empty() to check emptyness
This commit is contained in:
@@ -561,7 +561,7 @@ void cmCTestMultiProcessHandler::CreateParallelTestCostList()
|
||||
// In parallel test runs repeatedly move dependencies of the tests on
|
||||
// the current dependency level to the next level until no
|
||||
// further dependencies exist.
|
||||
while (priorityStack.back().size()) {
|
||||
while (!priorityStack.back().empty()) {
|
||||
TestSet& previousSet = priorityStack.back();
|
||||
priorityStack.push_back(TestSet());
|
||||
TestSet& currentSet = priorityStack.back();
|
||||
|
Reference in New Issue
Block a user