diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2024-12-16 13:34:26 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2024-12-19 16:17:46 +0100 |
commit | 0042c50301d2e959e9e7487f0f4ab37cef245979 (patch) | |
tree | 5b3b274e001b7add63663dcbafd1e29fd53448a0 /src/buildtool/execution_api/utils/rehash_utils.cpp | |
parent | ae42d0cf824f6dd08eee400bf6c4ad01ecd4e567 (diff) | |
download | justbuild-0042c50301d2e959e9e7487f0f4ab37cef245979.tar.gz |
Remove unnecessary moves
Diffstat (limited to 'src/buildtool/execution_api/utils/rehash_utils.cpp')
-rw-r--r-- | src/buildtool/execution_api/utils/rehash_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/utils/rehash_utils.cpp b/src/buildtool/execution_api/utils/rehash_utils.cpp index ec4edf99..9e64a546 100644 --- a/src/buildtool/execution_api/utils/rehash_utils.cpp +++ b/src/buildtool/execution_api/utils/rehash_utils.cpp @@ -93,8 +93,8 @@ auto ReadRehashedDigest(ArtifactDigest const& digest, } } } - return std::move(compat_obj); // not dereferenced to assist type - // deduction in variant + return compat_obj; // not dereferenced to assist type deduction in + // variant } // no mapping file found return std::optional<Artifact::ObjectInfo>{std::nullopt}; |