mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
ircd: Tweak vector_view construction semantics.
This commit is contained in:
parent
b0d5e5d4c8
commit
d80a39097c
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ struct ircd::vector_view
|
||||||
template<class U,
|
template<class U,
|
||||||
size_t SIZE>
|
size_t SIZE>
|
||||||
vector_view(const std::array<U, SIZE> &array)
|
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>
|
template<size_t SIZE>
|
||||||
|
|
Loading…
Reference in a new issue