From 12665c035359e70056cb0a1d9ec7bf364976c152 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 8 Oct 2015 07:21:14 +0200 Subject: fix clang warnings --- ftnoir_tracker_ht/ftnoir_tracker_ht.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ftnoir_tracker_ht') diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.h b/ftnoir_tracker_ht/ftnoir_tracker_ht.h index 16fdbe5c..1e364456 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.h +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.h @@ -44,8 +44,8 @@ public: Tracker(); ~Tracker() override; void run() override; - void start_tracker(QFrame* frame); - void data(double *data); + void start_tracker(QFrame* frame) override; + void data(double *data) override; void load_settings(ht_config_t* config); headtracker_t* ht; QMutex camera_mtx; @@ -65,11 +65,12 @@ class TrackerControls : public ITrackerDialog, protected camera_dialog Q_OBJECT public: TrackerControls(); - void register_tracker(ITracker * t) + void register_tracker(ITracker * t) override { tracker = static_cast(t); } - void unregister_tracker() { + void unregister_tracker() override + { tracker = nullptr; } private: -- cgit v1.2.3