From: Matan Breizman Date: Mon, 17 Feb 2025 10:05:22 +0000 (+0000) Subject: crimson/tools/perf_crimson_msgr: fix unused-lamda-capture X-Git-Tag: testing/wip-pdonnell-testing-20250220.015803-debug~11^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=aca5ae657195976222598ea1f3de7b67189cee35;p=ceph-ci.git crimson/tools/perf_crimson_msgr: fix unused-lamda-capture Signed-off-by: Matan Breizman --- diff --git a/src/crimson/tools/perf_crimson_msgr.cc b/src/crimson/tools/perf_crimson_msgr.cc index 5623438f821..66c2dc44733 100644 --- a/src/crimson/tools/perf_crimson_msgr.cc +++ b/src/crimson/tools/perf_crimson_msgr.cc @@ -369,7 +369,7 @@ static seastar::future<> run( return seastar::smp::invoke_on_all([&report, this] { auto &server = container().local(); server.get_report(report.reports[seastar::this_shard_id()]); - }).then([&report, this] { + }).then([&report] { auto now = mono_clock::now(); auto prv = report.start_time; report.start_time = now; @@ -417,7 +417,7 @@ static seastar::future<> run( }); } ); - }).then([this] { + }).then([] { logger().info("report is stopped!"); }).forward_to(std::move(pr_report)); }