pfultz2/cppcheck

Iterator mismatch with an algorithm

Opened this issue · 0 comments

We should warn for this:

if (std::find(x.begin(), x.end(), 0) == y.end()) {}