Getting this error while trying to erase the last element of a list. I debugged the code and was able to figure out what causes it and where, here\'s my code:
You want:
if(Player->BoundingBox.Intersect(&(*i)->BoundingBox)) { i = Drop_System.erase(i); } else { ++i; }