From 68f5f213bf0cbd0bd60a6849bf4379113ea06282 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 13 Jul 2018 16:20:30 +0200 Subject: appease analyzer --- tracker-rift-140/rift-140.cpp | 4 +--- tracker-rift-140/rift-140.hpp | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'tracker-rift-140') 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; }; -- cgit v1.2.3