mirror of https://github.com/cutefishos/calamares
[libcalamares] Switch to std::vector
Keeping std::initializer_list around is fraught. Causes segfaults because I'm not keeping the underlying temporary array around properly. Switch to vectors because those initialize from the underlying array. TODO: look into making this sufficiently constexpr -- perhaps just use std::array and make find() work on that.main
parent
097927eb3e
commit
79cee26b33
Loading…
Reference in New Issue