From 71c8e141b4c6fd3f1717510e8fe28823c9bb7843 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Fri, 13 Dec 2024 12:59:39 +0100 Subject: [PATCH] Fix Mac build (hopefully) CURA-11966 --- src/FffGcodeWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FffGcodeWriter.cpp b/src/FffGcodeWriter.cpp index 15c2b3cce4..26a1995cfc 100644 --- a/src/FffGcodeWriter.cpp +++ b/src/FffGcodeWriter.cpp @@ -3106,11 +3106,11 @@ bool FffGcodeWriter::processInsets( const AngleDegrees actual_wall_overhang_angle = wall_overhang_angle + static_cast(angle_index) * overhang_step; const Ratio speed_factor = angle_index == 0 ? 1.0_r : overhang_speed_factors[angle_index - 1]; - overhang_masks.emplace_back(get_supported_region(actual_wall_overhang_angle), speed_factor); + overhang_masks.push_back(LayerPlan::OverhangMask{ get_supported_region(actual_wall_overhang_angle), speed_factor }); } // Add an empty region, which actually means everything and should be ignored anyway - overhang_masks.emplace_back(Shape(), overhang_speed_factors.back()); + overhang_masks.push_back(LayerPlan::OverhangMask{ Shape(), overhang_speed_factors.back() }); } gcode_layer.setOverhangMasks(overhang_masks);