diff options
author | jaseg <git@jaseg.de> | 2023-04-16 14:04:53 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-04-16 14:04:53 +0200 |
commit | 3fbb56c3ae6731854d0377b824583a86f90f29c7 (patch) | |
tree | dd1df06cc8d57a91ec328b4847640c27b886487f /svg-flatten/include/geom2d.hpp | |
parent | da315879ccd1d9b464f8983953b3b0f1dc1b671b (diff) | |
download | gerbolyze-3fbb56c3ae6731854d0377b824583a86f90f29c7.tar.gz gerbolyze-3fbb56c3ae6731854d0377b824583a86f90f29c7.tar.bz2 gerbolyze-3fbb56c3ae6731854d0377b824583a86f90f29c7.zip |
Fix clang build and warnings
Diffstat (limited to 'svg-flatten/include/geom2d.hpp')
-rw-r--r-- | svg-flatten/include/geom2d.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svg-flatten/include/geom2d.hpp b/svg-flatten/include/geom2d.hpp index 33f2dd8..7c3b5ba 100644 --- a/svg-flatten/include/geom2d.hpp +++ b/svg-flatten/include/geom2d.hpp @@ -279,7 +279,7 @@ namespace gerbolyze { } std::transform(path.begin(), path.end(), path.begin(), - [this, ©](ClipperLib::IntPoint p) -> ClipperLib::IntPoint { + [©](ClipperLib::IntPoint p) -> ClipperLib::IntPoint { d2p out(copy.doc2phys(d2p{p.X / clipper_scale, p.Y / clipper_scale})); return { (ClipperLib::cInt)round(out[0] * clipper_scale), |