summaryrefslogtreecommitdiff
path: root/src/other_tools/repo_map
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-09-13 10:45:08 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-09-13 15:14:30 +0200
commit50de44605471b930958524698e01579b6c67f7e7 (patch)
tree44fedd2726caba70f8ec5ad08088f0ddf1fa2d6f /src/other_tools/repo_map
parentde61eefcf0b2574f44e9ec0e0d313aa52fdddbbb (diff)
downloadjustbuild-50de44605471b930958524698e01579b6c67f7e7.tar.gz
Remove std::move of const value and avoid non-movable intermediate variables
Diffstat (limited to 'src/other_tools/repo_map')
-rw-r--r--src/other_tools/repo_map/repos_to_setup_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/repo_map/repos_to_setup_map.cpp b/src/other_tools/repo_map/repos_to_setup_map.cpp
index cd0849fb..351c6215 100644
--- a/src/other_tools/repo_map/repos_to_setup_map.cpp
+++ b/src/other_tools/repo_map/repos_to_setup_map.cpp
@@ -520,7 +520,7 @@ void DistdirCheckout(ExpressionPtr const& repo_desc,
distdir_content->insert_or_assign(repo_distfile,
archive->content_hash.Hash());
// add to fetch list
- dist_repos_to_fetch->emplace_back(*std::move(archive));
+ dist_repos_to_fetch->emplace_back(*archive);
}
}
// get hash of distdir content