浏览代码

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

Andreas Kling 4 年之前
父节点
当前提交
be83b3aff4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AK/Bitmap.h

+ 1 - 1
AK/Bitmap.h

@@ -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)