From: Ronen Friedman Date: Sat, 26 Sep 2020 08:41:17 +0000 (+0300) Subject: neorados: removing an unused captured variable X-Git-Tag: v16.1.0~969^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F37424%2Fhead;p=ceph.git neorados: removing an unused captured variable Signed-off-by: Ronen Friedman --- diff --git a/src/test/neorados/common_tests.h b/src/test/neorados/common_tests.h index 0d672f02f813b..ca3d7bf7f26d6 100644 --- a/src/test/neorados/common_tests.h +++ b/src/test/neorados/common_tests.h @@ -32,7 +32,7 @@ auto create_pool(neorados::RADOS& r, std::string_view pname, (boost::system::error_code ec) mutable { r.lookup_pool( pname, - [&r, h = std::move(h)] + [h = std::move(h)] (boost::system::error_code ec, std::int64_t pool) mutable { std::move(h)(ec, pool); });