Hi Andreas,
On Fri, 2004-12-24 at 07:59, Andreas Zieringer wrote:
> >
> > I attached a diff file that describes the changes I
> > made in OSGQFieldView_qt.cpp. Funny enough, the
> > _poolLabels map is never manipulated through the erase
> > method.
>
> thanks for the patch I committed it to the cvs. In general calling erase
> on associative containers is invalidating the iterator.
Hm, not in general. From the STL docs:
Erasing an element from a map also does not invalidate any iterators,
except, of course, for iterators that actually point to the element that
is being erased.
So you could have fixed it in a different way, but your version is more
efficient anyway.
Just nitpicking, thanks for the patch. ;)
Dirk
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users