diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-10-18 16:44:48 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-10-18 16:44:48 +0000 |
| commit | c6f1fa0dfb5beaac7b0781213711028b511c5f6e (patch) | |
| tree | 3712e7c481f312bde6cb19d9b760ad0ba6f48f2a /src/libvpsc/constraint.cpp | |
| parent | Update to trunk (diff) | |
| parent | fix memory reallocation (diff) | |
| download | inkscape-c6f1fa0dfb5beaac7b0781213711028b511c5f6e.tar.gz inkscape-c6f1fa0dfb5beaac7b0781213711028b511c5f6e.zip | |
Update to trunk
(bzr r11950.1.185)
Diffstat (limited to 'src/libvpsc/constraint.cpp')
| -rw-r--r-- | src/libvpsc/constraint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libvpsc/constraint.cpp b/src/libvpsc/constraint.cpp index 2bd173155..0ec06dfac 100644 --- a/src/libvpsc/constraint.cpp +++ b/src/libvpsc/constraint.cpp @@ -24,11 +24,11 @@ Constraint::Constraint(Variable *left, Variable *right, double gap, bool equalit } Constraint::~Constraint() { Constraints::iterator i; - for(i=left->out.begin(); i!=left->out.end(); i++) { + for(i=left->out.begin(); i!=left->out.end(); ++i) { if(*i==this) break; } left->out.erase(i); - for(i=right->in.begin(); i!=right->in.end(); i++) { + for(i=right->in.begin(); i!=right->in.end(); ++i) { if(*i==this) break; } right->in.erase(i); |
