]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os: do not capture unused variable 42558/head
authorKefu Chai <kchai@redhat.com>
Fri, 30 Jul 2021 06:57:47 +0000 (14:57 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 30 Jul 2021 06:58:00 +0000 (14:58 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/seastore/seastore.h

index 6bf7a8e473bd9a71a893c3f81ab6508cfd96ad26..ad0b2414d25c00af76b4c6a00b0c91169e7e01f7 100644 (file)
@@ -226,7 +226,7 @@ private:
          }).safe_then([&ret](auto _ret) {
            ret = _ret;
          });
-       }).safe_then([&ret, op_type, &t, begin_time, this] {
+       }).safe_then([&ret, op_type, begin_time, this] {
          const_cast<SeaStore*>(this)->add_latency_sample(op_type,
                      std::chrono::steady_clock::now() - begin_time);
          return seastar::make_ready_future<Ret>(ret);