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
Notes: sideshowbarker 2024-07-18 09:07:35 +09:00

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)