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
..
2018-09-06 16:03:28 -04:00
2018-09-06 16:03:28 -04:00
2020-05-01 08:23:59 -04:00
2020-03-29 16:14:36 +01:00
2018-10-20 10:35:55 -04:00
2021-07-14 17:01:14 +08:00
2018-09-06 16:03:28 -04:00
2020-01-15 19:58:33 -07:00
2021-01-03 02:39:41 +01:00
2018-09-06 00:00:21 +02:00