diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-27 20:24:40 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-27 20:26:18 +0200 |
commit | 837b86dff99c8bee9300d203b7d442c9af599c8b (patch) | |
tree | 392ce68c41fad37379964a375c55a0dbc94d1807 /tracker-pt | |
parent | 61ee4c7dadc8ed09fa5c25880df7a06ee97f1849 (diff) |
tracker/pt: cleanup initialization
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.h b/tracker-pt/ftnoir_tracker_pt.h index 03812092..489175e4 100644 --- a/tracker-pt/ftnoir_tracker_pt.h +++ b/tracker-pt/ftnoir_tracker_pt.h @@ -39,10 +39,10 @@ class Tracker_PT : public QThread, public ITracker friend class ::TrackerDialog_PT; +public: template<typename t> using pointer = typename pt_runtime_traits::pointer<t>; -public: Tracker_PT(pointer<pt_runtime_traits> pt_runtime_traits); ~Tracker_PT() override; module_status start_tracker(QFrame* parent_window) override; @@ -78,8 +78,8 @@ private: pointer<pt_frame> frame; pointer<pt_preview> preview_frame; - std::atomic<unsigned> point_count = 0; - std::atomic<bool> ever_success = false; + std::atomic<unsigned> point_count { 0 }; + std::atomic<bool> ever_success { false }; static constexpr inline f rad2deg = f(180/M_PI); //static constexpr float deg2rad = float(M_PI/180); |