]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
neorados: removing an unused captured variable 37424/head
authorRonen Friedman <rfriedma@redhat.com>
Sat, 26 Sep 2020 08:41:17 +0000 (11:41 +0300)
committerRonen Friedman <rfriedma@redhat.com>
Sat, 26 Sep 2020 08:41:17 +0000 (11:41 +0300)
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/test/neorados/common_tests.h

index 0d672f02f813b84593e62b27301dcd1176b64bd7..ca3d7bf7f26d6ca0eee52a891b05821c9500c2c5 100644 (file)
@@ -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);
                    });