MessageModel: use find_if instead of manual for loop.

Authored by dfaure on Jun 9 2019, 8:06 PM.

Description

MessageModel: use find_if instead of manual for loop.

This allows reusing the find_if (with a helper method) if needed later.

Details

Committed
dfaureJun 9 2019, 8:06 PM
Parents
R865:6ba143a10b2b: Simplify messagemodel code by using a local variable
Branches
Unknown
Tags
Unknown