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-03-28 17:08:27 +00:00
2020-02-13 17:42:07 +08:00
2019-12-22 10:46:47 +01:00
2020-03-27 21:48:58 +00:00