Skip to content

Commit 71c8e14

Browse files
committed
Fix Mac build (hopefully)
CURA-11966
1 parent 23a3a3f commit 71c8e14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FffGcodeWriter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3106,11 +3106,11 @@ bool FffGcodeWriter::processInsets(
31063106
const AngleDegrees actual_wall_overhang_angle = wall_overhang_angle + static_cast<double>(angle_index) * overhang_step;
31073107
const Ratio speed_factor = angle_index == 0 ? 1.0_r : overhang_speed_factors[angle_index - 1];
31083108

3109-
overhang_masks.emplace_back(get_supported_region(actual_wall_overhang_angle), speed_factor);
3109+
overhang_masks.push_back(LayerPlan::OverhangMask{ get_supported_region(actual_wall_overhang_angle), speed_factor });
31103110
}
31113111

31123112
// Add an empty region, which actually means everything and should be ignored anyway
3113-
overhang_masks.emplace_back(Shape(), overhang_speed_factors.back());
3113+
overhang_masks.push_back(LayerPlan::OverhangMask{ Shape(), overhang_speed_factors.back() });
31143114
}
31153115
gcode_layer.setOverhangMasks(overhang_masks);
31163116

0 commit comments

Comments
 (0)