Follow-up of e01d32d01a - Fixed typo

This commit is contained in:
enricoturri1966 2022-04-01 08:28:58 +02:00
parent ad610ffe2b
commit 9b5d17dfbd

View File

@ -172,7 +172,7 @@ inline Polylines to_polylines(ExPolygon &&src)
for (auto ith = src.holes.begin(); ith != src.holes.end(); ++ith) {
Polyline &pl = polylines[idx ++];
pl.points = std::move(ith->points);
pl.points.push_back(p1.points.front());
pl.points.push_back(pl.points.front());
}
assert(idx == polylines.size());
return polylines;