mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-05 11:56:41 +02:00

`std::erase` is a replacement for the remove-erase idiom. Changes to `OpenModeToAndroid` inadvertently revealed that the prior implementation had UB (potentially deleting the end iterator). This is now fixed.