clang-tidy: fix performance-no-automatic-move warnings

This commit is contained in:
Ben Boeckel
2021-01-22 10:37:10 -05:00
parent 3a0d40bf8c
commit 4f396e6528
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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;
}