Fixup of previous commit

This commit is contained in:
Lukas Matena 2020-09-25 13:00:43 +02:00
parent b178d0af38
commit 48b0a14c4c

View File

@ -534,9 +534,9 @@ WipeTower::ToolChangeResult WipeTower::construct_tcr(WipeTowerWriter& writer,
result.elapsed_time = writer.elapsed_time(); result.elapsed_time = writer.elapsed_time();
result.start_pos = writer.start_pos_rotated(); result.start_pos = writer.start_pos_rotated();
result.end_pos = priming ? writer.pos() : writer.pos_rotated(); result.end_pos = priming ? writer.pos() : writer.pos_rotated();
result.gcode = writer.gcode(); result.gcode = std::move(writer.gcode());
result.extrusions = writer.extrusions(); result.extrusions = std::move(writer.extrusions());
result.wipe_path = writer.wipe_path(); result.wipe_path = std::move(writer.wipe_path());
return result; return result;
} }