summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2021-11-14 12:45:29 -0700
committerAndreas Kling <kling@serenityos.org>2021-11-14 22:52:35 +0100
commit6f580f2047f6fcab081d5f92ea751d8f2fb55e80 (patch)
tree5d288c37ac67c67bd3f5d5b13d14bf8b2fd2acc7 /AK
parentf32e1852694f714185e8b7ed16cc5fe6b70f7f11 (diff)
downloadserenity-6f580f2047f6fcab081d5f92ea751d8f2fb55e80.zip
AK: Resolve clang-tidy readability-const-return-type warning in Bitmap
Returning a const BitmapView doesn't make much sense :^)
Diffstat (limited to 'AK')
-rw-r--r--AK/Bitmap.h2
1 files changed, 1 insertions, 1 deletions
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)
{