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:
Andrew Kaster 2021-11-14 12:45:29 -07:00 committed by Andreas Kling
parent f32e185269
commit 6f580f2047
Notes: sideshowbarker 2024-07-18 01:07:29 +09:00

View File

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