diff options
Diffstat (limited to 'Userland/Services/WindowServer/Cursor.h')
-rw-r--r-- | Userland/Services/WindowServer/Cursor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/WindowServer/Cursor.h b/Userland/Services/WindowServer/Cursor.h index 0dd939ba02..5a414029d6 100644 --- a/Userland/Services/WindowServer/Cursor.h +++ b/Userland/Services/WindowServer/Cursor.h @@ -15,7 +15,7 @@ namespace WindowServer { class Cursor : public RefCounted<Cursor> { public: - static RefPtr<Cursor> create(const StringView&, const StringView&); + static RefPtr<Cursor> create(StringView, StringView); static NonnullRefPtr<Cursor> create(NonnullRefPtr<Gfx::Bitmap>&&, int); static RefPtr<Cursor> create(Gfx::StandardCursor); ~Cursor() = default; @@ -49,7 +49,7 @@ private: Cursor() { } Cursor(NonnullRefPtr<Gfx::Bitmap>&&, int, const Gfx::CursorParams&); - bool load(const StringView&, const StringView&); + bool load(StringView, StringView); void update_rect_if_animated(); HashMap<int, NonnullRefPtr<Gfx::Bitmap>> m_bitmaps; |