1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:27:45 +00:00

AK: Make Bitmap::set() non-const

This commit is contained in:
Andreas Kling 2021-07-12 21:30:52 +02:00
parent 5c89305fc6
commit be83b3aff4

View file

@ -73,7 +73,7 @@ public:
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);
if (value)