summaryrefslogtreecommitdiffstats
path: root/src/2geom/quadtree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/quadtree.cpp')
-rw-r--r--src/2geom/quadtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/quadtree.cpp b/src/2geom/quadtree.cpp
index f30475415..98030c424 100644
--- a/src/2geom/quadtree.cpp
+++ b/src/2geom/quadtree.cpp
@@ -236,7 +236,7 @@ void QuadTree::insert(double x0, double y0, double x1, double y1, int shape) {
void QuadTree::erase(Quad *q, int shape) {
- for(Quad::iterator i = q->data.begin(); i != q->data.end(); i++) {
+ for(Quad::iterator i = q->data.begin(); i != q->data.end(); ++i) {
if(*i == shape) {
q->data.erase(i);
if(q->data.empty()) {