From 42e6b27e1afda7fcd8beddd9676ba7edb6363a34 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 14 Jan 2019 16:21:56 +0100 Subject: modernize only - replace `static constexpr inline' with `static constexpr'. `inline' is implied. - use braced initializer lists where applicable - still missing `override' usages --- tracker-steamvr/steamvr.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-steamvr') diff --git a/tracker-steamvr/steamvr.hpp b/tracker-steamvr/steamvr.hpp index 8c76ad17..1a16f002 100644 --- a/tracker-steamvr/steamvr.hpp +++ b/tracker-steamvr/steamvr.hpp @@ -56,7 +56,7 @@ struct device_list final static cc_noinline maybe_pose get_pose(int k); static QString error_string(vr_error_t error); - static constexpr inline unsigned max_devices = vr::k_unMaxTrackedDeviceCount; + static constexpr unsigned max_devices = vr::k_unMaxTrackedDeviceCount; template friend auto with_vr_lock(F&& fun) -> decltype(fun(vr_t(), vr_error_t())); -- cgit v1.2.3