Skip to content

Commit aca5ae6

Browse files
Matan-Bzhscn
authored andcommitted
crimson/tools/perf_crimson_msgr: fix unused-lamda-capture
Signed-off-by: Matan Breizman <[email protected]>
1 parent d24ea15 commit aca5ae6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crimson/tools/perf_crimson_msgr.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ static seastar::future<> run(
369369
return seastar::smp::invoke_on_all([&report, this] {
370370
auto &server = container().local();
371371
server.get_report(report.reports[seastar::this_shard_id()]);
372-
}).then([&report, this] {
372+
}).then([&report] {
373373
auto now = mono_clock::now();
374374
auto prv = report.start_time;
375375
report.start_time = now;
@@ -417,7 +417,7 @@ static seastar::future<> run(
417417
});
418418
}
419419
);
420-
}).then([this] {
420+
}).then([] {
421421
logger().info("report is stopped!");
422422
}).forward_to(std::move(pr_report));
423423
}

0 commit comments

Comments
 (0)