mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03: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
Notes:
sideshowbarker
2024-07-18 01:07:29 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/6f580f2047f Pull-request: https://github.com/SerenityOS/serenity/pull/10737 Reviewed-by: https://github.com/BenWiederhake Reviewed-by: https://github.com/PeterBindels-TomTom Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/dascandy Reviewed-by: https://github.com/trflynn89
@ -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…
Reference in New Issue
Block a user