Skip to content

Commit

Permalink
AK: Make Bitmap::set() non-const
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Jul 13, 2021
1 parent 5c89305 commit be83b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AK/Bitmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Bitmap {
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)
Expand Down

0 comments on commit be83b3a

Please sign in to comment.