summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpathclipper_p.h
diff options
context:
space:
mode:
authorMaks Naumov <maksqwe1@ukr.net>2015-10-25 22:01:42 +0200
committerMaks Naumov <maksqwe1@ukr.net>2015-10-26 08:23:45 +0000
commit1721c83c275a0d6aaf01622eb140c02094365142 (patch)
tree36f64f94c3bea7768880816275ec4ee69c5da9fc /src/gui/painting/qpathclipper_p.h
parent51dac9890d9df2e2101e3519a8deaa9cbcc42d14 (diff)
QPathSegments::Intersection: reduce struct size 24 -> 16 bytes
Only for systems where qreal is double(8 bytes). Change-Id: I3fd6b5d4279c41102ead24eef287bb37847398c1 Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/gui/painting/qpathclipper_p.h')
-rw-r--r--src/gui/painting/qpathclipper_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/painting/qpathclipper_p.h b/src/gui/painting/qpathclipper_p.h
index 36330052dd..d1caea4a1a 100644
--- a/src/gui/painting/qpathclipper_p.h
+++ b/src/gui/painting/qpathclipper_p.h
@@ -156,9 +156,8 @@ class QPathSegments
{
public:
struct Intersection {
- int vertex;
qreal t;
-
+ int vertex;
int next;
bool operator<(const Intersection &o) const {