diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-05-17 17:11:08 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-05-19 19:54:28 (GMT) |
commit | f1d55ff7e9372236ccf3da54397ed549a177b95a (patch) | |
tree | c9babe109ed99557251237d41e0548e3fbd1341b /Source/CTest | |
parent | 9daa244e9904e3d80afa149c927a01413e2a6cd0 (diff) | |
download | CMake-f1d55ff7e9372236ccf3da54397ed549a177b95a.zip CMake-f1d55ff7e9372236ccf3da54397ed549a177b95a.tar.gz CMake-f1d55ff7e9372236ccf3da54397ed549a177b95a.tar.bz2 |
style: use `cmStrCat` in some more locations
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestSubmitHandler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx index fae5e30..baeafc1 100644 --- a/Source/CTest/cmCTestSubmitHandler.cxx +++ b/Source/CTest/cmCTestSubmitHandler.cxx @@ -895,8 +895,7 @@ void cmCTestSubmitHandler::SelectParts(std::set<cmCTest::Part> const& parts) // Check whether each part is selected. for (cmCTest::Part p = cmCTest::PartStart; p != cmCTest::PartCount; p = cmCTest::Part(p + 1)) { - this->SubmitPart[p] = - (std::set<cmCTest::Part>::const_iterator(parts.find(p)) != parts.end()); + this->SubmitPart[p] = parts.find(p) != parts.end(); } } |