From 12491b406a5687fb961b556a8fdf61f1a14a261b Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Tue, 29 Oct 2024 15:48:41 +0100 Subject: [PATCH] Fix Mac build CURA-12176 --- src/FffGcodeWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FffGcodeWriter.cpp b/src/FffGcodeWriter.cpp index a8642cf95c..65eae9c2c2 100644 --- a/src/FffGcodeWriter.cpp +++ b/src/FffGcodeWriter.cpp @@ -1730,7 +1730,7 @@ void FffGcodeWriter::addMeshLayerToGCode_meshSurfaceMode(const SliceMeshStorage& constexpr Ratio flow_ratio = 1.0; constexpr bool always_retract = false; constexpr bool reverse_order = false; - constexpr std::optional start_near_location = std::nullopt; + const std::optional start_near_location = std::nullopt; constexpr bool scarf_seam = true; constexpr bool smooth_speed = true;