diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-01-02 09:52:13 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-01-02 09:52:13 +0000 |
| commit | 3d15e9e5d472920043498e741c52333db2d60415 (patch) | |
| tree | 91783db00e3c6339f10465569efa2228314f0056 /src/live_effects/lpe-pts2ellipse.cpp | |
| parent | modernize loops (diff) | |
| download | inkscape-3d15e9e5d472920043498e741c52333db2d60415.tar.gz inkscape-3d15e9e5d472920043498e741c52333db2d60415.zip | |
modernize loops (2)
Diffstat (limited to 'src/live_effects/lpe-pts2ellipse.cpp')
| -rw-r--r-- | src/live_effects/lpe-pts2ellipse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-pts2ellipse.cpp b/src/live_effects/lpe-pts2ellipse.cpp index 0d3f70314..48655b25a 100644 --- a/src/live_effects/lpe-pts2ellipse.cpp +++ b/src/live_effects/lpe-pts2ellipse.cpp @@ -265,8 +265,8 @@ LPEPts2Ellipse::doEffect_path (Geom::PathVector const & path_in) // extract first point of this path pts.push_back(pit.initialPoint()); // iterate over all curves - for (Geom::Path::const_iterator cit = pit.begin(); cit != pit.end(); ++cit) { - pts.push_back(cit->finalPoint()); + for (const auto & cit : pit) { + pts.push_back(cit.finalPoint()); } } |
