diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-21 08:41:38 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-21 08:44:07 (GMT) |
commit | b432e933cb0b2b162149b7e3aeb6a37b00e78d5f (patch) | |
tree | 7e9f0abd0c739deda02a660938db00988490b7ab /Source | |
parent | 012972a926713cdf235c1c24d7b9059c3179855f (diff) | |
download | CMake-b432e933cb0b2b162149b7e3aeb6a37b00e78d5f.zip CMake-b432e933cb0b2b162149b7e3aeb6a37b00e78d5f.tar.gz CMake-b432e933cb0b2b162149b7e3aeb6a37b00e78d5f.tar.bz2 |
clang-tidy: use .empty() to check emptyness
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx index d738a1b..fdc16b1 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.cxx +++ b/Source/CTest/cmCTestMultiProcessHandler.cxx @@ -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(); |