summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMultiProcessHandler.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 08:41:38 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 08:44:07 (GMT)
commitb432e933cb0b2b162149b7e3aeb6a37b00e78d5f (patch)
tree7e9f0abd0c739deda02a660938db00988490b7ab /Source/CTest/cmCTestMultiProcessHandler.cxx
parent012972a926713cdf235c1c24d7b9059c3179855f (diff)
downloadCMake-b432e933cb0b2b162149b7e3aeb6a37b00e78d5f.zip
CMake-b432e933cb0b2b162149b7e3aeb6a37b00e78d5f.tar.gz
CMake-b432e933cb0b2b162149b7e3aeb6a37b00e78d5f.tar.bz2
clang-tidy: use .empty() to check emptyness
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx2
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();