summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-28 03:02:57 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:18 +0100
commit6f04e4ca46e6f2dcd3eda63529a1bbd915f7676b (patch)
tree9aeb1332980c4285396457ad9f278495064549b5 /tracker-rs
parent3be3bb256f3e9362f8889f0532f875c5ad3b41fb (diff)
clang-tidy fixes only
Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever.
Diffstat (limited to 'tracker-rs')
-rw-r--r--tracker-rs/ftnoir_tracker_rs.h6
-rw-r--r--tracker-rs/ftnoir_tracker_rs_worker.h2
-rw-r--r--tracker-rs/imagewidget.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/tracker-rs/ftnoir_tracker_rs.h b/tracker-rs/ftnoir_tracker_rs.h
index 881e03ca..f322d0f6 100644
--- a/tracker-rs/ftnoir_tracker_rs.h
+++ b/tracker-rs/ftnoir_tracker_rs.h
@@ -20,7 +20,7 @@ class RSTracker : public QObject, public ITracker
public:
RSTracker();
- ~RSTracker();
+ ~RSTracker() override;
module_status start_tracker(QFrame *) override;
void data(double *data) override;
@@ -50,6 +50,6 @@ class RSTrackerMetaData : public Metadata
{
Q_OBJECT
- QString name();
- QIcon icon();
+ QString name() override;
+ QIcon icon() override;
};
diff --git a/tracker-rs/ftnoir_tracker_rs_worker.h b/tracker-rs/ftnoir_tracker_rs_worker.h
index 098d6c10..8758e520 100644
--- a/tracker-rs/ftnoir_tracker_rs_worker.h
+++ b/tracker-rs/ftnoir_tracker_rs_worker.h
@@ -16,7 +16,7 @@ class RSTrackerWorkerThread : public QThread
public:
RSTrackerWorkerThread();
- ~RSTrackerWorkerThread();
+ ~RSTrackerWorkerThread() override;
void getPose(double* pose);
const QImage getPreview();
diff --git a/tracker-rs/imagewidget.h b/tracker-rs/imagewidget.h
index f04eb1a3..a6d5932b 100644
--- a/tracker-rs/imagewidget.h
+++ b/tracker-rs/imagewidget.h
@@ -14,7 +14,7 @@
class ImageWidget : public QWidget {
Q_OBJECT
public:
- ImageWidget(QWidget* parent = 0);
+ ImageWidget(QWidget* parent = nullptr);
void setImage(QImage image);
private: