mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
AK: Remove commented-out code from Bitmap container
Instead, add a note to explain that there's a const variant of data() method in the parent BitmapView class.
This commit is contained in:
parent
b9f9cbb12c
commit
54845c4bf2
1 changed files with 1 additions and 3 deletions
|
@ -71,11 +71,9 @@ public:
|
|||
m_data[index / 8] &= static_cast<u8>(~(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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue