From 8f9d3d0441a209daff885583b0355abe2905cf77 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Tue, 5 Dec 2023 08:34:57 +0100 Subject: [PATCH] Fix stress benchmark build --- stress_benchmark/stress_benchmark.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stress_benchmark/stress_benchmark.cpp b/stress_benchmark/stress_benchmark.cpp index 62502c1c5f..ad2e205e48 100644 --- a/stress_benchmark/stress_benchmark.cpp +++ b/stress_benchmark/stress_benchmark.cpp @@ -80,7 +80,7 @@ struct Resource cura::Polygon outer; for (const auto& point : boost_polygon.outer()) { - outer.add(cura::Point(point.x(), point.y())); + outer.add(cura::Point2LL(point.x(), point.y())); } polygon.add(outer); @@ -89,7 +89,7 @@ struct Resource cura::Polygon inner; for (const auto& point : hole) { - inner.add(cura::Point(point.x(), point.y())); + inner.add(cura::Point2LL(point.x(), point.y())); } polygon.add(inner); }