[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.
parent
6daddc21
Please register or sign in to comment
We were already using this code pattern right after the loop, so this makes it consistent.