mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2026-08-10 09:04:52 +00:00
When the vector is empty, using `&vec[0]` involves undefined behaviour. While that works fine most of the time, Flatpak builds aborted on a failed `__builtin_expect`. I searched for such occurences across the codebase with the regex `(?<!&)&\w+\[0\]` and fixed those that would potentially cause issues. |
||
|---|---|---|
| .. | ||
| android | ||
| audio_core | ||
| citra | ||
| citra_qt | ||
| common | ||
| core | ||
| dedicated_room | ||
| input_common | ||
| network | ||
| tests | ||
| video_core | ||
| web_service | ||
| .clang-format | ||
| CMakeLists.txt | ||