summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr/steamvr.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-16 11:22:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 11:22:52 +0100
commit4a5b7ff7ec97f9078780ffc44d923d11a0aa18c1 (patch)
tree5d69f32b72176fa79bb6d6ef242453312cad891e /tracker-steamvr/steamvr.hpp
parent0b155e6016d162e9ead045d9e9e862c96b7a61bd (diff)
tracker/steamvr: better error messages
Diffstat (limited to 'tracker-steamvr/steamvr.hpp')
-rw-r--r--tracker-steamvr/steamvr.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-steamvr/steamvr.hpp b/tracker-steamvr/steamvr.hpp
index 1a16f002..88fa740a 100644
--- a/tracker-steamvr/steamvr.hpp
+++ b/tracker-steamvr/steamvr.hpp
@@ -76,7 +76,7 @@ class steamvr : public QObject, public ITracker
static void matrix_to_euler(double& yaw, double& pitch, double& roll, const vr::HmdMatrix34_t& result);
settings s;
- int device_index;
+ unsigned device_index{UINT_MAX};
public:
steamvr();