diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-03 14:59:40 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-03 14:59:40 +0200 |
commit | da207036f8e9f4b8e431bbabba30813b5d65cbf8 (patch) | |
tree | 989ee43889849b5a30826f16050ec873f7179656 /tracker-steamvr/steamvr.cpp | |
parent | a42d3b16dd94aa3d2703431d72fdf995e5a92299 (diff) |
tracker/{rift,steamvr}: rename reserved identifier
Could be declared as macro.
Issue: #771
Diffstat (limited to 'tracker-steamvr/steamvr.cpp')
-rw-r--r-- | tracker-steamvr/steamvr.cpp | 6 |
1 files changed, 3 insertions, 3 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); } |