erase(int index) can erase multiple objects in the vector.
bugResearchingUnconfirmed
What happens:
If more than 1 object in the vector have the same value as the object at the index being erased, all objects in the vector will be erased.
Expected:
Only the object at the specified index should be erased from the vector.
关闭于 2025-12-06 1 条评论