diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-09-13 10:45:08 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-09-13 15:14:30 +0200 |
commit | 50de44605471b930958524698e01579b6c67f7e7 (patch) | |
tree | 44fedd2726caba70f8ec5ad08088f0ddf1fa2d6f /src/other_tools/repo_map | |
parent | de61eefcf0b2574f44e9ec0e0d313aa52fdddbbb (diff) | |
download | justbuild-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.cpp | 2 |
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 |