summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-24 03:27:40 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-24 03:27:40 +0200
commit299dfafbb046d66dc7dfbfa6a3d4ade59f897aae (patch)
tree2428b1d8e5a4278d2772596f6192f9545994e605 /tracker-steamvr
parentca98195b98cce234403afb5ac15439a89a928f7d (diff)
tracker/steamvr: fix friend decl for GNU
Diffstat (limited to 'tracker-steamvr')
-rw-r--r--tracker-steamvr/steamvr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-steamvr/steamvr.cpp b/tracker-steamvr/steamvr.cpp
index 4264b755..259145b9 100644
--- a/tracker-steamvr/steamvr.cpp
+++ b/tracker-steamvr/steamvr.cpp
@@ -32,7 +32,7 @@
QMutex device_list::mtx(QMutex::Recursive);
template<typename F>
-static auto with_vr_lock(F&& fun) -> decltype(fun(vr_t(), error_t()))
+auto with_vr_lock(F&& fun) -> decltype(fun(vr_t(), error_t()))
{
QMutexLocker l(&device_list::mtx);
error_t e; vr_t v;