From ab3f9e162773b00e8b9e914837d34ae4d51fe71b Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 26 Nov 2024 20:43:20 -0600 Subject: [PATCH] [ox/std] Make Span access check message consistent with other messages --- 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 2e336daa..8a229abb 100644 --- a/deps/ox/src/ox/std/span.hpp +++ b/deps/ox/src/ox/std/span.hpp @@ -231,12 +231,12 @@ class Span { } constexpr T &operator[](std::size_t i) noexcept { - ox::primitiveAssert(__FILE__, __LINE__, i < size(), "Span overflow"); + ox::primitiveAssert(__FILE__, __LINE__, i < size(), "Span access overflow"); return m_items[i]; } constexpr const T &operator[](std::size_t i) const noexcept { - ox::primitiveAssert(__FILE__, __LINE__, i < size(), "Span overflow"); + ox::primitiveAssert(__FILE__, __LINE__, i < size(), "Span access overflow"); return m_items[i]; }