diff options
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.h')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.h b/tracker-pt/ftnoir_tracker_pt.h index 5e9ad9b3..0226fd87 100644 --- a/tracker-pt/ftnoir_tracker_pt.h +++ b/tracker-pt/ftnoir_tracker_pt.h @@ -75,8 +75,7 @@ private: std::atomic<unsigned> point_count { 0 }; std::atomic<bool> ever_success { false }; - mutable std::atomic_flag center_flag = ATOMIC_FLAG_INIT; - mutable std::atomic_flag data_lock = ATOMIC_FLAG_INIT; + mutable QMutex center_lock, data_lock; }; } // ns pt_impl |