From 6f580f2047f6fcab081d5f92ea751d8f2fb55e80 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sun, 14 Nov 2021 12:45:29 -0700 Subject: [PATCH] AK: Resolve clang-tidy readability-const-return-type warning in Bitmap Returning a const BitmapView doesn't make much sense :^) --- AK/Bitmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/Bitmap.h b/AK/Bitmap.h index bea24f7d30..25532b884e 100644 --- a/AK/Bitmap.h +++ b/AK/Bitmap.h @@ -60,7 +60,7 @@ public: m_data = nullptr; } - [[nodiscard]] BitmapView const view() const { return *this; } + [[nodiscard]] BitmapView view() const { return *this; } void set(size_t index, bool value) {