mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 18:10:39 +00:00
The vector(initializer_list<T>) constructor copies the T since initializer_list is read-only. Move the mutation instead. This happens to fix a use-after-return on clang 15 on aarch64. I'm fairly sure that's a miscompile, but the fix is worthwhile regardless. Closes #11818