summaryrefslogtreecommitdiffhomepage
path: root/tracker-rift-140
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-03 14:59:40 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-03 14:59:40 +0200
commitda207036f8e9f4b8e431bbabba30813b5d65cbf8 (patch)
tree989ee43889849b5a30826f16050ec873f7179656 /tracker-rift-140
parenta42d3b16dd94aa3d2703431d72fdf995e5a92299 (diff)
tracker/{rift,steamvr}: rename reserved identifier
Could be declared as macro. Issue: #771
Diffstat (limited to 'tracker-rift-140')
-rw-r--r--tracker-rift-140/rift-140.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tracker-rift-140/rift-140.cpp b/tracker-rift-140/rift-140.cpp
index bf02191a..5ed2866b 100644
--- a/tracker-rift-140/rift-140.cpp
+++ b/tracker-rift-140/rift-140.cpp
@@ -49,13 +49,13 @@ error:
ovrErrorInfo err;
ovr_GetLastErrorInfo(&err);
- QString strerror(err.ErrorString);
- if (strerror.size() == 0)
- strerror = QStringLiteral("Unknown reason #%1").arg(err.Result);
+ QString error_string(err.ErrorString);
+ if (error_string.size() == 0)
+ error_string = QStringLiteral("Unknown reason #%1").arg(err.Result);
ovr_Shutdown();
- return error(strerror);
+ return error(error_string);
}
void rift_tracker_140::data(double *data)