Pengfei f85bde3ca3
Replace &vec[0] with vec.data()
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.
2021-07-14 17:01:14 +08:00
..
2020-12-29 13:29:02 -06:00
2021-07-14 17:01:14 +08:00
2021-07-14 17:01:14 +08:00
2019-02-22 16:29:19 -06:00