diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-01-02 10:27:41 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-01-02 10:27:41 +0000 |
| commit | 555712c0db9d0b724828f45bd3ebc5f169405d9c (patch) | |
| tree | 38f858a4dd46684ae3a1d10ac23f2aafd5d03720 /src/livarot | |
| parent | modernize loops (2) (diff) | |
| download | inkscape-555712c0db9d0b724828f45bd3ebc5f169405d9c.tar.gz inkscape-555712c0db9d0b724828f45bd3ebc5f169405d9c.zip | |
modernize: add overrides
Diffstat (limited to 'src/livarot')
| -rw-r--r-- | src/livarot/Shape.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/livarot/Shape.h b/src/livarot/Shape.h index e2bc0b99e..2764b90ad 100644 --- a/src/livarot/Shape.h +++ b/src/livarot/Shape.h @@ -320,7 +320,7 @@ public: void QuickScan(float &pos, int &curP, float to, AlphaLigne* line, float step); void Transform(Geom::Affine const &tr) - {for(std::vector<dg_point>::iterator it=_pts.begin();it!=_pts.end();++it) it->x*=tr;} + {for(auto & _pt : _pts) _pt.x*=tr;} std::vector<back_data> ebData; std::vector<voronoi_point> vorpData; |
