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-06 15:59:13 -03:00
2020-06-11 22:05:29 -04:00
2021-07-14 17:01:14 +08:00
2021-07-14 17:01:14 +08:00
2018-09-06 16:03:28 -04:00
2020-12-28 18:39:00 -05:00
2020-02-13 17:39:15 +08:00