diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-22 15:37:10 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-27 13:45:44 (GMT) |
commit | 4f396e6528ae6bfc4b847fa7d67d8e24a3dd4933 (patch) | |
tree | 0b190ef2c405584e9c54cd74696b002a8c55df8a /Source/CTest | |
parent | 3a0d40bf8c838fd94b716b60d1e161066d57e68a (diff) | |
download | CMake-4f396e6528ae6bfc4b847fa7d67d8e24a3dd4933.zip CMake-4f396e6528ae6bfc4b847fa7d67d8e24a3dd4933.tar.gz CMake-4f396e6528ae6bfc4b847fa7d67d8e24a3dd4933.tar.bz2 |
clang-tidy: fix `performance-no-automatic-move` warnings
Diffstat (limited to 'Source/CTest')
-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 a8c9df6..1cb5d00 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -1675,7 +1675,7 @@ std::string cmCTestTestHandler::FindExecutable( // if everything else failed, check the users path, but only if a full path // wasn't specified if (fullPath.empty() && filepath.empty()) { - std::string const path = cmSystemTools::FindProgram(filename.c_str()); + std::string path = cmSystemTools::FindProgram(filename.c_str()); if (!path.empty()) { resultingConfig.clear(); return path; |