0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

ircd: Tweak vector_view construction semantics.

This commit is contained in:
Jason Volk 2018-12-26 17:13:08 -08:00
parent b0d5e5d4c8
commit d80a39097c

View file

@ -92,7 +92,7 @@ struct ircd::vector_view
template<class U,
size_t SIZE>
vector_view(const std::array<U, SIZE> &array)
:vector_view(array.data(), array.size())
:vector_view(const_cast<pointer>(array.data()), array.size())
{}
template<size_t SIZE>