diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-10-16 19:47:12 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-10-16 19:47:12 +0000 |
| commit | af8374a9745905bde55e5b19425bf95b2fd3f935 (patch) | |
| tree | fe0f4cc183027fa595b61b69275c69e2d2af8142 /src/seltrans.cpp | |
| parent | Fix colour variable type with gtkmm 3 (diff) | |
| download | inkscape-af8374a9745905bde55e5b19425bf95b2fd3f935.tar.gz inkscape-af8374a9745905bde55e5b19425bf95b2fd3f935.zip | |
static code analysis: performance
(bzr r12695)
Diffstat (limited to 'src/seltrans.cpp')
| -rw-r--r-- | src/seltrans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seltrans.cpp b/src/seltrans.cpp index 7a8f5ec17..ed0fd3a08 100644 --- a/src/seltrans.cpp +++ b/src/seltrans.cpp @@ -1394,7 +1394,7 @@ void Inkscape::SelTrans::moveTo(Geom::Point const &xy, guint state) /* Pick one */ Inkscape::SnappedPoint best_snapped_point; - for (std::list<Inkscape::SnappedPoint>::const_iterator i = s.begin(); i != s.end(); i++) { + for (std::list<Inkscape::SnappedPoint>::const_iterator i = s.begin(); i != s.end(); ++i) { if (i->getSnapped()) { if (best_snapped_point.isOtherSnapBetter(*i, true)) { best_snapped_point = *i; |
