iterator invalidated after erase fix
iterator renamed
Merge pull request #7 from Alicemargatroid/DevelopmentOptimize

iterator invalidated after erase fix