Skip to content

Commit 1e122e8

Browse files
committed
raft: modernize with std::ranges
1 parent 95b8aa0 commit 1e122e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/v/raft/group_manager.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ ss::future<xshard_transfer_state> group_manager::do_shutdown(
189189
co_await c->remove_persistent_state();
190190
}
191191
co_await _heartbeats.deregister_group(group_id);
192-
auto it = std::find(_groups.begin(), _groups.end(), c);
192+
auto it = std::ranges::find(_groups, c);
193193
vassert(
194194
it != _groups.end(),
195195
"A consensus instance with group id: {} that is requested to be removed "

0 commit comments

Comments
 (0)