Jan Holesovsky wrote
> ...
> If I am not mistaken, unordered_map is a _Hashtable, with end() defined
> as const_iterator(nullptr), so it is constant, and your change was
> actually fine.  Then again, I am no C++ expert, so probably better to be
> safe, and just check against m_aChildren.end() ;-) - you don't save much
> anyway, .end() is cheap.

Already done (see my previous comment) then:-)

Thank you for your help Jan.

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/About-erasing-iterators-ohierarchyholder-cxx-package-module-tp4071746p4072012.html
Sent from the Dev mailing list archive at Nabble.com.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to