]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/onode-staged-tree: add missing mutable keyword
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 24 Jun 2021 07:49:23 +0000 (15:49 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Fri, 25 Jun 2021 02:37:21 +0000 (10:37 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/onode_manager/staged-fltree/node.cc

index 6eea71f4c08642a6f501d6a8e92d236e78179fa2..6d75d58dfff17454fef90751e9dc81b019efed7f 100644 (file)
@@ -1801,7 +1801,7 @@ LeafNode::erase(context_t c, const search_position_t& pos, bool get_next)
       return eagain_ertr::make_ready_future<Ref<tree_cursor_t>>();
     }
   }).safe_then([c, &pos, this_ref = std::move(this_ref),
-                this, FNAME] (Ref<tree_cursor_t> next_cursor) {
+                this, FNAME] (Ref<tree_cursor_t> next_cursor) mutable {
     if (next_cursor && next_cursor->is_end()) {
       // reset the node reference from the end cursor
       next_cursor.reset();