Open
Description
indexmap
2.2.0 made the remove
methods deprecated, as they forward directly to swap_remove
. #120454 will update these callsites to use swap_remove
, but we should consider if this is the correct behaviour. Alternatives are shift_remove
(invalidating existing indexes) or using a different map.