aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/include/geom2d.hpp
diff options
context:
space:
mode:
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),