From 2bce9a2bafd3995b6927531a226dc351d25946a7 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 11 Jan 2025 03:37:27 -0600 Subject: [PATCH] [ox/std] Add non-const SmallMap::pairs --- deps/ox/src/ox/std/smallmap.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deps/ox/src/ox/std/smallmap.hpp b/deps/ox/src/ox/std/smallmap.hpp index 00f8659a..96739018 100644 --- a/deps/ox/src/ox/std/smallmap.hpp +++ b/deps/ox/src/ox/std/smallmap.hpp @@ -85,6 +85,11 @@ class SmallMap { return m_pairs; } + [[nodiscard]] + constexpr ox::Span pairs() noexcept { + return m_pairs; + } + constexpr void clear(); private: