summaryrefslogtreecommitdiff
path: root/src/3rdparty/poly2tri/common/shapes.h
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@jollamobile.com>2015-01-06 09:18:09 +1000
committerAaron McCarthy <mccarthy.aaron@gmail.com>2015-01-07 02:37:20 +0100
commit804f60d1dbcbeff1741584629942a7f59175e7c5 (patch)
tree15c662069af2bc0927934e3318f43b8f4abf87c9 /src/3rdparty/poly2tri/common/shapes.h
parent5924aa508acd42da45106c9294c9721418eb868d (diff)
downloadqtlocation-804f60d1dbcbeff1741584629942a7f59175e7c5.tar.gz
Update poly2tri to latest upstream.
Sync'd with upstream change 26242d0aa7b8. Change-Id: I16e8fd333006b88c464d8e083af181cd2ce726e3 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by: Michal Klocek <michal.klocek@digia.com>
Diffstat (limited to 'src/3rdparty/poly2tri/common/shapes.h')
-rw-r--r--src/3rdparty/poly2tri/common/shapes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/poly2tri/common/shapes.h b/src/3rdparty/poly2tri/common/shapes.h
index f147955a..c99f293c 100644
--- a/src/3rdparty/poly2tri/common/shapes.h
+++ b/src/3rdparty/poly2tri/common/shapes.h
@@ -254,7 +254,7 @@ inline bool operator ==(const Point& a, const Point& b)
inline bool operator !=(const Point& a, const Point& b)
{
- return a.x != b.x && a.y != b.y;
+ return !(a.x == b.x) && !(a.y == b.y);
}
/// Peform the dot product on two vectors.