iterator becomes invalid after an erase operation
Merge pull request #1 from MarkaPola/develop

iterator becomes invalid after an erase operation