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
commit bf7a2ff941
Notes: sideshowbarker 2024-07-18 01:20:15 +09:00
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)