summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr/steamvr.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-03-10 16:31:57 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-03-10 18:35:13 +0100
commite026e5570091b3eb81c619a4ec203b94f24b9acd (patch)
treef133770822558f400af3bf6e17654cf7fc9ea683 /tracker-steamvr/steamvr.hpp
parent34a9d3691171864068a24a88442e6635ff29d738 (diff)
tracker/steamvr: inconsequential cleanup
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 4ba4da6d..479f517f 100644
--- a/tracker-steamvr/steamvr.hpp
+++ b/tracker-steamvr/steamvr.hpp
@@ -52,7 +52,7 @@ struct device_list final
static never_inline maybe_pose get_pose(int k);
static QString strerror(error_t error);
- static constexpr int max_devices = int(vr::k_unMaxTrackedDeviceCount);
+ static constexpr inline unsigned max_devices = vr::k_unMaxTrackedDeviceCount;
template<typename F>
friend auto with_vr_lock(F&& fun) -> decltype(fun(vr_t(), error_t()));