diff options
author | Maks Naumov <maksqwe1@ukr.net> | 2015-10-25 22:01:42 +0200 |
---|---|---|
committer | Maks Naumov <maksqwe1@ukr.net> | 2015-10-26 08:23:45 +0000 |
commit | 1721c83c275a0d6aaf01622eb140c02094365142 (patch) | |
tree | 36f64f94c3bea7768880816275ec4ee69c5da9fc /src/gui/painting/qpathclipper_p.h | |
parent | 51dac9890d9df2e2101e3519a8deaa9cbcc42d14 (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.h | 3 |
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 { |