1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:37:44 +00:00

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]; 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); return at(index);
} }