diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-04-21 02:23:46 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-06-24 14:20:40 +0200 |
commit | 4a71ac5bb79e3cd53499255f231c490fc9a5627b (patch) | |
tree | d9de1e1f81cb81a1f22615fc8a58ee94284cdf5a /vncviewer/GestureHandler.h | |
parent | 2dd2341e0e1aae172f669d1810004ae72e3105d8 (diff) | |
download | tigervnc-4a71ac5bb79e3cd53499255f231c490fc9a5627b.tar.gz tigervnc-4a71ac5bb79e3cd53499255f231c490fc9a5627b.zip |
Use "static" for helper functions
These functions act only on the input parameters, so let's make them
static to more clearly indicate that they do not act upon any object.
Diffstat (limited to 'vncviewer/GestureHandler.h')
-rw-r--r-- | vncviewer/GestureHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/GestureHandler.h b/vncviewer/GestureHandler.h index df30ebc2..2b31703a 100644 --- a/vncviewer/GestureHandler.h +++ b/vncviewer/GestureHandler.h @@ -47,7 +47,7 @@ class GestureHandler : public rfb::Timer::Callback { void twoTouchTimeout(); void pushEvent(GestureEventType t); - GestureEventGesture stateToGesture(unsigned char state); + static GestureEventGesture stateToGesture(unsigned char state); void getPosition(double *firstX, double *firstY, double *lastX, double *lastY); |