diff --git a/AK/Bitmap.h b/AK/Bitmap.h index 4a327689440d02..2aeb381910ed5d 100644 --- a/AK/Bitmap.h +++ b/AK/Bitmap.h @@ -71,11 +71,9 @@ class Bitmap : public BitmapView { m_data[index / 8] &= static_cast(~(1u << (index % 8))); } + // NOTE: There's a const method variant of this method at the parent class BitmapView. [[nodiscard]] u8* data() { return m_data; } - // [[nodiscard]] u8 const* data() const { return m_data; } - // ^BitmapView - void grow(size_t size, bool default_value) { VERIFY(size > m_size);