summaryrefslogtreecommitdiffstats
path: root/src/2geom/path-intersection.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-01-15 17:57:07 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-01-15 17:57:07 +0000
commitc908cda71c90792646e6dfe79143ca6b7249027b (patch)
treec96b48cd56e0a9847359493382593dfad7499c97 /src/2geom/path-intersection.cpp
parentcppcheck tells us: Memory leak: potraceBitmap (diff)
downloadinkscape-c908cda71c90792646e6dfe79143ca6b7249027b.tar.gz
inkscape-c908cda71c90792646e6dfe79143ca6b7249027b.zip
cppcheck performance
(bzr r10891)
Diffstat (limited to 'src/2geom/path-intersection.cpp')
-rw-r--r--src/2geom/path-intersection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/path-intersection.cpp b/src/2geom/path-intersection.cpp
index c680f3a31..c514991d4 100644
--- a/src/2geom/path-intersection.cpp
+++ b/src/2geom/path-intersection.cpp
@@ -70,8 +70,8 @@ int winding(Path const &path, Point p) {
//Traverse segments until it breaks away from y
//99.9% of the time this will happen the first go
Path::const_iterator next = iter;
- next++;
- for(; ; next++) {
+ ++next;
+ for(; ; ++next) {
if(next == path.end_closed()) next = path.begin();
Rect bnds = (next->boundsFast());
//TODO: X considerations