diff --git a/deps/ox/src/ox/std/span.hpp b/deps/ox/src/ox/std/span.hpp index 68fa6c02..a5def89e 100644 --- a/deps/ox/src/ox/std/span.hpp +++ b/deps/ox/src/ox/std/span.hpp @@ -47,7 +47,7 @@ class SpanView { } template - constexpr SpanView(const T a[sz]) noexcept: + constexpr SpanView(const T (&a)[sz]) noexcept: m_items(a), m_size(sz) { } @@ -165,7 +165,7 @@ class Span { } template - constexpr Span(T a[sz]) noexcept: + constexpr Span(T (&a)[sz]) noexcept: m_items(a), m_size(sz) { }