mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-02 22:34:50 +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.