diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-30 17:33:32 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-30 17:33:32 +0100 |
commit | 6775efddecffc2be4a9eaeea2d844183d9271f99 (patch) | |
tree | e279e11b33dedf66210423d6f782cc3ac62d2f0c /ftnoir_tracker_rift/ftnoir_tracker_rift.h | |
parent | 677af1c2c3ec44766764d6c72e16d319c02de6ff (diff) |
pass -Wall -Wextra -pedantic, add #pragma once
Diffstat (limited to 'ftnoir_tracker_rift/ftnoir_tracker_rift.h')
-rw-r--r-- | ftnoir_tracker_rift/ftnoir_tracker_rift.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.h b/ftnoir_tracker_rift/ftnoir_tracker_rift.h index 970a64a2..6be18d0b 100644 --- a/ftnoir_tracker_rift/ftnoir_tracker_rift.h +++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.h @@ -1,9 +1,10 @@ +#pragma once #include "ftnoir_tracker_base/ftnoir_tracker_base.h" #include "ui_ftnoir_rift_clientcontrols.h" #include <QMessageBox> #include <QSettings> #include <QWaitCondition> -#include <math.h> +#include <cmath> #include "facetracknoir/global-settings.h" #include "OVR.h" #include <memory> @@ -13,7 +14,7 @@ public: Rift_Tracker(); virtual ~Rift_Tracker(); - void StartTracker( QFrame *videoframe ); + void StartTracker(QFrame *); bool GiveHeadPoseData(double *data); void loadSettings(); volatile bool should_quit; @@ -48,7 +49,7 @@ public: void showEvent ( QShowEvent * event ); void Initialize(QWidget *parent); - void registerTracker(ITracker *tracker) {} + void registerTracker(ITracker *) {} void unRegisterTracker() {} private: |