Fix cppcheck report: Return value of std::remove_if() ignored. Elements ...

...remain in container