Ver código fonte

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

Andreas Kling 4 anos atrás
pai
commit
be83b3aff4
1 arquivos alterados com 1 adições e 1 exclusões
  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)));
         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)