diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-13 16:20:30 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-13 16:20:30 +0200 |
commit | 68f5f213bf0cbd0bd60a6849bf4379113ea06282 (patch) | |
tree | 7906520ed59fe4ef7c03de91d55f4f74b87e4072 /tracker-rift-140 | |
parent | db47f9fc711f9b0abeb8461042c40c70d5a71021 (diff) |
appease analyzer
Diffstat (limited to 'tracker-rift-140')
-rw-r--r-- | tracker-rift-140/rift-140.cpp | 4 | ||||
-rw-r--r-- | tracker-rift-140/rift-140.hpp | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/tracker-rift-140/rift-140.cpp b/tracker-rift-140/rift-140.cpp index 5ed2866b..ee309ce8 100644 --- a/tracker-rift-140/rift-140.cpp +++ b/tracker-rift-140/rift-140.cpp @@ -21,9 +21,7 @@ using namespace OVR; -rift_tracker_140::rift_tracker_140() : old_yaw(0), hmd(nullptr) -{ -} +rift_tracker_140::rift_tracker_140() = default; rift_tracker_140::~rift_tracker_140() { diff --git a/tracker-rift-140/rift-140.hpp b/tracker-rift-140/rift-140.hpp index dd314432..4437333b 100644 --- a/tracker-rift-140/rift-140.hpp +++ b/tracker-rift-140/rift-140.hpp @@ -28,9 +28,9 @@ public: module_status start_tracker(QFrame *) override; void data(double *data) override; private: - double old_yaw; - ovrSession hmd; - ovrGraphicsLuid luid; + double old_yaw = 0; + ovrSession hmd = nullptr; + ovrGraphicsLuid luid {}; settings s; }; |