mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:07:45 +00:00
AK: Resolve clang-tidy readability-const-return-type warning in Bitmap
Returning a const BitmapView doesn't make much sense :^)
This commit is contained in:
parent
f32e185269
commit
6f580f2047
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ public:
|
||||||
m_data = nullptr;
|
m_data = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] BitmapView const view() const { return *this; }
|
[[nodiscard]] BitmapView view() const { return *this; }
|
||||||
|
|
||||||
void set(size_t index, bool value)
|
void set(size_t index, bool value)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue