From a0ed1b3f621e4ba0069a9262930bab40c940bcdc Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 26 Nov 2024 23:57:41 -0600 Subject: [PATCH] [ox/std] Fix Span raw array constructor --- deps/ox/src/ox/std/span.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { }