~drizzle-trunk/drizzle/development

Viewing all changes in revision 1510.3.2.

  • Committer: mordred
  • Date: 2010-04-29 08:43:45 UTC
  • mto: This revision was merged to the branch mainline in revision 1518.
  • Revision ID: mordred@orisndriz05-20100429084345-92zszx1ownh0eyvl
Fix error found by cppcheck - modifying a container invalidates its iterators,
so erasing from a list and then continuing to access the iterator over that list is a real nono. The standard idiom in stl parlance is cont.erase(remove_if())
In this case, to apply that idiom means splitting this into a futher functor.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: