summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-steamvr')
-rw-r--r--tracker-steamvr/steamvr.cpp6
-rw-r--r--tracker-steamvr/steamvr.hpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/tracker-steamvr/steamvr.cpp b/tracker-steamvr/steamvr.cpp
index fd21187b..7bb2fb22 100644
--- a/tracker-steamvr/steamvr.cpp
+++ b/tracker-steamvr/steamvr.cpp
@@ -164,12 +164,12 @@ tt device_list::vr_init_()
if (v)
std::atexit(vr::VR_Shutdown);
else
- qDebug() << "steamvr: init failure" << error << device_list::strerror(error);
+ qDebug() << "steamvr: init failure" << error << device_list::error_string(error);
return tt(v, error);
}
-QString device_list::strerror(vr_error_t err)
+QString device_list::error_string(vr_error_t err)
{
const char* str(vr::VR_GetVRInitErrorAsSymbol(err));
return QString(str ? str : "No description");
@@ -191,7 +191,7 @@ module_status steamvr::start_tracker(QFrame*)
if (!v)
{
- err = device_list::strerror(e);
+ err = device_list::error_string(e);
return error(err);
}
diff --git a/tracker-steamvr/steamvr.hpp b/tracker-steamvr/steamvr.hpp
index 73964593..c4e10adb 100644
--- a/tracker-steamvr/steamvr.hpp
+++ b/tracker-steamvr/steamvr.hpp
@@ -55,7 +55,7 @@ struct device_list final
const QList<device_spec>& devices() const { return device_specs; }
static never_inline maybe_pose get_pose(int k);
- static QString strerror(vr_error_t error);
+ static QString error_string(vr_error_t error);
static constexpr inline unsigned max_devices = vr::k_unMaxTrackedDeviceCount;
template<typename F>