AK: Make Bitmap::set() non-const
This commit is contained in:
parent
5c89305fc6
commit
be83b3aff4
Notes:
sideshowbarker
2024-07-18 09:07:35 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/be83b3aff46
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ public:
|
||||||
return 0 != (m_data[index / 8] & (1u << (index % 8)));
|
return 0 != (m_data[index / 8] & (1u << (index % 8)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void set(size_t index, bool value) const
|
void set(size_t index, bool value)
|
||||||
{
|
{
|
||||||
VERIFY(index < m_size);
|
VERIFY(index < m_size);
|
||||||
if (value)
|
if (value)
|
||||||
|
|
Loading…
Add table
Reference in a new issue