summaryrefslogtreecommitdiffhomepage
path: root/pose-widget/pose-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-05-02 18:33:17 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-05-02 18:33:17 +0200
commit79ae08ed646f6cb2d242274ed04a79d669090143 (patch)
tree6701408840761b5b53b8e4284828847eb956a64f /pose-widget/pose-widget.cpp
parent02b80d8686fe393a3c69d4080873090e72b5cce5 (diff)
pose-widget: appease MSVC
Diffstat (limited to 'pose-widget/pose-widget.cpp')
-rw-r--r--pose-widget/pose-widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pose-widget/pose-widget.cpp b/pose-widget/pose-widget.cpp
index 54686114..8b5b66f6 100644
--- a/pose-widget/pose-widget.cpp
+++ b/pose-widget/pose-widget.cpp
@@ -34,7 +34,7 @@ void pose_widget::paintEvent(QPaintEvent*)
auto [ yaw, pitch, roll ] = R;
auto [ x, y, z ] = T;
- const QImage& img = std::fabs(pitch) > 90 ^ std::fabs(yaw) > 90
+ const QImage& img = (std::fabs(pitch) > 90) ^ (std::fabs(yaw) > 90)
? back
: front;