From b9d5445341084c3842a2a9380dcd608a8abfc7e0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 17 Feb 2015 06:25:44 +0100 Subject: pt: use volatile across threads --- ftnoir_tracker_pt/ftnoir_tracker_pt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftnoir_tracker_pt') diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.h b/ftnoir_tracker_pt/ftnoir_tracker_pt.h index 399d0693..7fce812d 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.h +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.h @@ -72,7 +72,7 @@ private: settings s; Timer time; - bool success; + volatile bool success; static constexpr double rad2deg = 180.0/3.14159265; static constexpr double deg2rad = 3.14159265/180.0; -- cgit v1.2.3