diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-02-15 20:50:04 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-02-15 20:50:04 +0000 |
| commit | 97642b4ccedbca62162c9321509717ed86f31d6b (patch) | |
| tree | 94975614959c0681fa61031b854458748f5f6b3a /src/sp-flowregion.cpp | |
| parent | More header cleanup/fwd declarations (diff) | |
| download | inkscape-97642b4ccedbca62162c9321509717ed86f31d6b.tar.gz inkscape-97642b4ccedbca62162c9321509717ed86f31d6b.zip | |
cppcheck
(bzr r10987)
Diffstat (limited to 'src/sp-flowregion.cpp')
| -rw-r--r-- | src/sp-flowregion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-flowregion.cpp b/src/sp-flowregion.cpp index ebcfcdc2f..649193c33 100644 --- a/src/sp-flowregion.cpp +++ b/src/sp-flowregion.cpp @@ -111,7 +111,7 @@ static void sp_flowregion_dispose(GObject *object) { SPFlowregion *group=(SPFlowregion *)object; - for (std::vector<Shape*>::iterator it = group->computed.begin() ; it != group->computed.end() ; it++) + for (std::vector<Shape*>::iterator it = group->computed.begin() ; it != group->computed.end() ; ++it) delete *it; group->computed.~vector<Shape*>(); } @@ -182,7 +182,7 @@ static void sp_flowregion_update(SPObject *object, SPCtx *ctx, unsigned int flag void SPFlowregion::UpdateComputed(void) { - for (std::vector<Shape*>::iterator it = computed.begin() ; it != computed.end() ; it++) { + for (std::vector<Shape*>::iterator it = computed.begin() ; it != computed.end() ; ++it) { delete *it; } computed.clear(); |
