diff options
Diffstat (limited to 'tracker-tobii-eyex/tobii-eyex.hpp')
-rw-r--r-- | tracker-tobii-eyex/tobii-eyex.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tracker-tobii-eyex/tobii-eyex.hpp b/tracker-tobii-eyex/tobii-eyex.hpp index 23173f22..62b0d733 100644 --- a/tracker-tobii-eyex/tobii-eyex.hpp +++ b/tracker-tobii-eyex/tobii-eyex.hpp @@ -19,6 +19,7 @@ using namespace options; #include <functional> #include <atomic> + #include <QObject> #include <QMutex> @@ -77,7 +78,7 @@ private: } dev_state; double yaw, pitch; - volatile bool do_center; + std::atomic<bool> do_center; }; class tobii_eyex_metadata : public Metadata |