From 53643fd16f3ee10b558f6ebedfd1a344cf1fa925 Mon Sep 17 00:00:00 2001 From: Aishwarya Mathuria Date: Thu, 10 Apr 2025 06:27:25 +0000 Subject: [PATCH] crimson/osd/shard_services: Remove implicit capture of this Implicit capture of this with a capture default of = is deprecated. Signed-off-by: Aishwarya Mathuria --- src/crimson/osd/shard_services.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crimson/osd/shard_services.cc b/src/crimson/osd/shard_services.cc index 517cf6580bd..e83084b9fc9 100644 --- a/src/crimson/osd/shard_services.cc +++ b/src/crimson/osd/shard_services.cc @@ -94,7 +94,7 @@ seastar::future<> PerShardState::broadcast_map_to_pgs( auto &pgs = pg_map.get_pgs(); return seastar::parallel_for_each( pgs.begin(), pgs.end(), - [=, &shard_services](auto& pg) { + [this, &shard_services, epoch](auto& pg) { return shard_services.start_operation( pg.second, shard_services, -- 2.39.5