summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/MouseTracker.h
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-12-06 20:27:44 +0000
committerAndreas Kling <kling@serenityos.org>2022-12-07 11:48:27 +0100
commit7be0b27dd3cd7185c1b8dc52747c50aad479bc6a (patch)
tree30d42673a64ebb4a6274760e0016f78d6fa91fca /Userland/Libraries/LibGUI/MouseTracker.h
parentbbc149ebb935532c9382278ed98cf9fe8a616422 (diff)
downloadserenity-7be0b27dd3cd7185c1b8dc52747c50aad479bc6a.zip
Meta+Userland: Pass Gfx::IntPoint by value
This is just two ints or 8 bytes or the size of the reference on x86_64 or AArch64.
Diffstat (limited to 'Userland/Libraries/LibGUI/MouseTracker.h')
-rw-r--r--Userland/Libraries/LibGUI/MouseTracker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/MouseTracker.h b/Userland/Libraries/LibGUI/MouseTracker.h
index ca26bcd795..dbf8b6a848 100644
--- a/Userland/Libraries/LibGUI/MouseTracker.h
+++ b/Userland/Libraries/LibGUI/MouseTracker.h
@@ -19,10 +19,10 @@ public:
MouseTracker();
virtual ~MouseTracker();
- static void track_mouse_move(Badge<ConnectionToWindowServer>, Gfx::IntPoint const&);
+ static void track_mouse_move(Badge<ConnectionToWindowServer>, Gfx::IntPoint);
protected:
- virtual void track_mouse_move(Gfx::IntPoint const&) = 0;
+ virtual void track_mouse_move(Gfx::IntPoint) = 0;
private:
IntrusiveListNode<MouseTracker> m_list_node;