AK: Add missing 'const' in Span
This commit is contained in:
parent
d0637e7923
commit
af9a7b1374
Notes:
sideshowbarker
2024-07-18 18:24:00 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/af9a7b13748 Pull-request: https://github.com/SerenityOS/serenity/pull/6974 Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue