mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09:00
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: af9a7b1374
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
Add a link
Reference in a new issue