1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:27:43 +00:00

AK+Kernel: Make BitmapView read-only

This commit is contained in:
Ben Wiederhake 2021-11-06 15:56:10 +01:00 committed by Andreas Kling
parent 850db15d66
commit bf7a2ff941
3 changed files with 2 additions and 11 deletions

View file

@ -37,7 +37,6 @@ public:
{
}
[[nodiscard]] BitmapView view() { return { m_data, m_size }; }
[[nodiscard]] BitmapView const view() const { return { m_data, m_size }; }
Bitmap(Bitmap&& other)