From f1bd57c05e74fdff61f00d774ecdd52dc1a12757 Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Sun, 19 Feb 2023 10:50:04 +0000 Subject: [PATCH] crimson/osd/object_context_loader: with_clone_obc to move head Signed-off-by: Matan Breizman (cherry picked from commit 4bf99c69f2506babc566395ea1f090c30bd70d30) --- src/crimson/osd/object_context_loader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crimson/osd/object_context_loader.cc b/src/crimson/osd/object_context_loader.cc index 0928fb78be0..1aa2faa0d69 100644 --- a/src/crimson/osd/object_context_loader.cc +++ b/src/crimson/osd/object_context_loader.cc @@ -47,7 +47,7 @@ using crimson::common::local_conf; crimson::ct_error::enoent::make() }; } - return this->with_clone_obc_only(head, + return this->with_clone_obc_only(std::move(head), oid, std::move(func)); }); -- 2.39.5