From: Aishwarya Mathuria Date: Thu, 10 Apr 2025 06:27:25 +0000 (+0000) Subject: crimson/osd/shard_services: Remove implicit capture of this X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=53643fd16f3ee10b558f6ebedfd1a344cf1fa925;p=ceph.git 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 --- diff --git a/src/crimson/osd/shard_services.cc b/src/crimson/osd/shard_services.cc index 517cf6580bd3..e83084b9fc90 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,