Skip to content

Commit ff58f87

Browse files
committed
Fix copy elision warning on Debian 12 on ARM/gcc 12.2.0
1 parent 24a9122 commit ff58f87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/emc/task/emccanon.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2726,7 +2726,7 @@ auto SPINDLE_SPEED_(int s, int dir, double speed)
27262726
// canon.css_numerator = 0; FIXME: Do we need this?
27272727
}
27282728

2729-
return std::move(emc_spindle_msg);
2729+
return emc_spindle_msg;
27302730
}
27312731

27322732
void START_SPINDLE_CLOCKWISE(int s, int wait_for_atspeed)

0 commit comments

Comments
 (0)