diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-08 07:21:14 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-08 07:21:14 +0200 |
commit | 12665c035359e70056cb0a1d9ec7bf364976c152 (patch) | |
tree | e46de919ed8dd29e0f5f0049335fa96b9314125c /ftnoir_tracker_ht | |
parent | 80525e48bce10a629db7706fe1dc31c2e0402354 (diff) |
fix clang warningsopentrack-2.3-rc19
Diffstat (limited to 'ftnoir_tracker_ht')
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.h | 9 |
1 files changed, 5 insertions, 4 deletions
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<Tracker> Q_OBJECT public: TrackerControls(); - void register_tracker(ITracker * t) + void register_tracker(ITracker * t) override { tracker = static_cast<Tracker*>(t); } - void unregister_tracker() { + void unregister_tracker() override + { tracker = nullptr; } private: |