aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/include/geom2d.hpp
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-04-16 14:04:53 +0200
committerjaseg <git@jaseg.de>2023-04-16 14:04:53 +0200
commit3fbb56c3ae6731854d0377b824583a86f90f29c7 (patch)
treedd1df06cc8d57a91ec328b4847640c27b886487f /svg-flatten/include/geom2d.hpp
parentda315879ccd1d9b464f8983953b3b0f1dc1b671b (diff)
downloadgerbolyze-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.hpp2
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, &copy](ClipperLib::IntPoint p) -> ClipperLib::IntPoint {
+ [&copy](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),