AK: Add missing 'const' in Span

This commit is contained in:
Matthew Olsson 2021-04-28 14:43:10 -07:00 committed by Andreas Kling
parent d0637e7923
commit af9a7b1374

View file

@ -195,7 +195,7 @@ public:
return this->m_values[index];
}
ALWAYS_INLINE constexpr T& operator[](size_t index) const
ALWAYS_INLINE constexpr const T& operator[](size_t index) const
{
return at(index);
}