Use return value of erase() to proceed iterator