summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-03-31 02:00:20 +0000
committerDavid Robillard <d@drobilla.net>2014-03-31 02:00:20 +0000
commit583834a097b3491f8bf07bb0ee531935d10ce16d (patch)
tree0ba028c2c17a0a0b48193beabdffbf29a9f208f5 /src
parente477fba7331b8a874b00a567defb09a888590aea (diff)
downloadganv-583834a097b3491f8bf07bb0ee531935d10ce16d.tar.gz
ganv-583834a097b3491f8bf07bb0ee531935d10ce16d.tar.bz2
ganv-583834a097b3491f8bf07bb0ee531935d10ce16d.zip
Fix ganv_canvas_for_each_edge().
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5349 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-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);