Translations:Development/Tutorials/Common Programming Mistakes/49/en: Difference between revisions
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 07:31, 26 October 2019
This code will potentially crash because it is a dangling iterator after the call to erase(). You have to rewrite the code this way: