mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +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,
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue