From 97720fa6b4267a73d15382f7c47d47134d3761ab Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sun, 14 May 2023 20:20:14 +0300 Subject: [PATCH] Remove unused capture --- src/blockstore_stable.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blockstore_stable.cpp b/src/blockstore_stable.cpp index fb3b7098..003d3197 100644 --- a/src/blockstore_stable.cpp +++ b/src/blockstore_stable.cpp @@ -103,7 +103,7 @@ blockstore_op_t* blockstore_impl_t::selective_sync(blockstore_op_t *op) blockstore_op_t *sync_op = new blockstore_op_t; sync_op->opcode = BS_OP_SYNC; sync_op->buf = NULL; - sync_op->callback = [this](blockstore_op_t *sync_op) + sync_op->callback = [](blockstore_op_t *sync_op) { delete sync_op; }; @@ -244,7 +244,7 @@ int blockstore_impl_t::split_stab_op(blockstore_op_t *op, std::functioncallback](blockstore_op_t *split_op) {