aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/Timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/Timer.h')
-rw-r--r--common/rfb/Timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/Timer.h b/common/rfb/Timer.h
index 36ec46c5..362cb84e 100644
--- a/common/rfb/Timer.h
+++ b/common/rfb/Timer.h
@@ -124,7 +124,7 @@ namespace rfb {
MethodTimer(T* obj_, void (T::*cb_)(Timer*))
: Timer(this), obj(obj_), cb(cb_) {}
- virtual void handleTimeout(Timer* t) { (obj->*cb)(t); }
+ void handleTimeout(Timer* t) override { return (obj->*cb)(t); }
private:
T* obj;