[SLP] use std::distance/find to reduce code; NFC
We were already using this code pattern right after the loop, so this makes it consistent.
Loading
Please register or sign in to comment
We were already using this code pattern right after the loop, so this makes it consistent.