summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-10-10 11:43:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-10-10 11:43:05 +0200
commit692de4664b1aea87e634c541c00d77cb3f42006a (patch)
tree0a7bcc3d476b426602ff5d7478c7354e2d54cbee /tracker-pt/ftnoir_tracker_pt_dialog.cpp
parent9bf8a1ca15d5982c15832656343df4b49baff299 (diff)
tracker/pt: get rid of heap allocation
Use stack arrays rather than vectors. std::array may be a better choice though.
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.cpp')
-rw-r--r--tracker-pt/ftnoir_tracker_pt_dialog.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp
index d3d68efc..a5108ec1 100644
--- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp
+++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp
@@ -10,10 +10,7 @@
#include "cv/video-property-page.hpp"
#include "compat/camera-names.hpp"
-#include <opencv2/core/core.hpp>
-#include <memory>
-#include <vector>
-#include <QMessageBox>
+#include <opencv2/core.hpp>
#include <QString>
#include <QDebug>