From 3fbb56c3ae6731854d0377b824583a86f90f29c7 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 16 Apr 2023 14:04:53 +0200 Subject: Fix clang build and warnings --- svg-flatten/include/geom2d.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svg-flatten/include') 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), -- cgit