[ox/std] Add non-const operator[] to Pair
All checks were successful
Build / build (push) Successful in 2m36s

This commit is contained in:
Gary Talent 2024-06-12 22:52:20 -05:00
parent 1eac7e1e56
commit 3824788a1a

View File

@ -228,6 +228,10 @@ class Span {
return iterator<const T&, const T*, true>(m_items, MaxValue<size_type>, m_size);
}
constexpr T &operator[](std::size_t i) noexcept {
return m_items[i];
}
constexpr const T &operator[](std::size_t i) const noexcept {
return m_items[i];
}