diff options
author | Brad King <brad.king@kitware.com> | 2023-11-02 19:50:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-11-17 23:41:41 (GMT) |
commit | 7bca3f8c800510509be3468f57226daf5708e91c (patch) | |
tree | 30a5c9bcd95d2ea40044d3ad416cc7e410c620ba /Source/CTest/cmCTestTestHandler.cxx | |
parent | d6d114f3e8ad7333b9dcf18c9c583e778d334659 (diff) | |
download | CMake-7bca3f8c800510509be3468f57226daf5708e91c.zip CMake-7bca3f8c800510509be3468f57226daf5708e91c.tar.gz CMake-7bca3f8c800510509be3468f57226daf5708e91c.tar.bz2 |
cmCTestMultiProcessHandler: Avoid extra copy of test maps
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index eb3b4dd..2fcef90 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -1385,7 +1385,7 @@ bool cmCTestTestHandler::ProcessDirectory(std::vector<std::string>& passed, properties[p.Index] = &p; } parallel->SetResourceSpecFile(this->ResourceSpecFile); - parallel->SetTests(tests, properties); + parallel->SetTests(std::move(tests), std::move(properties)); parallel->SetPassFailVectors(&passed, &failed); this->TestResults.clear(); parallel->SetTestResults(&this->TestResults); |