mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 08:48:57 +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
Notes:
sideshowbarker
2024-07-18 01:07:29 +09:00
Author: https://github.com/ADKaster
Commit: 6f580f2047
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
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue