summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--FTNoIR_Tracker_PT/ftnoir_tracker_pt.h2
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.h2
-rw-r--r--ftnoir_tracker_base/ftnoir_tracker_base.h2
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.h b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.h
index 2430f5f0..e00ab1df 100644
--- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.h
+++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.h
@@ -38,7 +38,7 @@ class Tracker : public ITracker, QThread, public FrameProvider
{
public:
Tracker();
- ~Tracker();
+ virtual ~Tracker() override;
// --- ITracker interface ---
virtual void Initialize(QFrame *videoframe);
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
index 260ca41e..ec4c6c9d 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
@@ -24,7 +24,7 @@ class Tracker : public QThread, public ITracker
Q_OBJECT
public:
Tracker();
- ~Tracker();
+ virtual ~Tracker() override;
void StartTracker(QFrame* frame);
bool GiveHeadPoseData(double *data);
bool enableTX, enableTY, enableTZ, enableRX, enableRY, enableRZ;
diff --git a/ftnoir_tracker_base/ftnoir_tracker_base.h b/ftnoir_tracker_base/ftnoir_tracker_base.h
index e9e11b61..66304bd7 100644
--- a/ftnoir_tracker_base/ftnoir_tracker_base.h
+++ b/ftnoir_tracker_base/ftnoir_tracker_base.h
@@ -41,7 +41,7 @@
// Instances are obtained via factory function.
struct ITracker
{
- virtual ~ITracker() {}
+ virtual ~ITracker() = 0;
virtual void StartTracker( QFrame* frame ) = 0;
virtual bool GiveHeadPoseData(double *data) = 0;
};
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.h b/ftnoir_tracker_ht/ftnoir_tracker_ht.h
index aae4e6d6..20648c51 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.h
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.h
@@ -22,7 +22,7 @@ class Tracker : public QObject, public ITracker
Q_OBJECT
public:
Tracker();
- ~Tracker();
+ virtual ~Tracker() override;
void StartTracker(QFrame* frame);
bool GiveHeadPoseData(double *data);
bool enableTX, enableTY, enableTZ, enableRX, enableRY, enableRZ;