diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-02-17 06:25:44 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-02-17 06:25:44 +0100 |
commit | b9d5445341084c3842a2a9380dcd608a8abfc7e0 (patch) | |
tree | 762c6f4c6c61e6b92d75bd1e6d5f7a67d83f6309 | |
parent | daf8d590858d610e9a2702c70399c0d7bb2778ee (diff) |
pt: use volatile across threads
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |