summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Canvas.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index de18e98..b473f9b 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -2343,8 +2343,7 @@ ganv_canvas_for_each_edge(GanvCanvas* canvas,
{
GanvCanvasImpl* impl = canvas->impl;
for (GanvCanvasImpl::Edges::const_iterator i = impl->_edges.begin();
- i != impl->_edges.end();
- ++i) {
+ i != impl->_edges.end();) {
GanvCanvasImpl::Edges::const_iterator next = i;
++next;
f((*i), data);