[ox/std] Fix Span raw array constructor

This commit is contained in:
Gary Talent 2024-11-26 23:57:41 -06:00
parent 8dad624b21
commit a0ed1b3f62

View File

@ -47,7 +47,7 @@ class SpanView {
} }
template<std::size_t sz> template<std::size_t sz>
constexpr SpanView(const T a[sz]) noexcept: constexpr SpanView(const T (&a)[sz]) noexcept:
m_items(a), m_items(a),
m_size(sz) { m_size(sz) {
} }
@ -165,7 +165,7 @@ class Span {
} }
template<std::size_t sz> template<std::size_t sz>
constexpr Span(T a[sz]) noexcept: constexpr Span(T (&a)[sz]) noexcept:
m_items(a), m_items(a),
m_size(sz) { m_size(sz) {
} }