mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
clang-tidy: fix performance-no-automatic-move warnings
This commit is contained in:
@@ -189,7 +189,7 @@ std::string MakeSourceFilePathAbsoluteIfNeeded(
|
||||
if (!needed) {
|
||||
return source_file_path;
|
||||
}
|
||||
const std::string absolute_file_path = cmSystemTools::CollapseFullPath(
|
||||
std::string absolute_file_path = cmSystemTools::CollapseFullPath(
|
||||
source_file_path, status.GetMakefile().GetCurrentSourceDirectory());
|
||||
return absolute_file_path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user