Skip to content

Commit 3c7cc2e

Browse files
authored
Merge pull request #3426 from BsAtHome/fix_copy-elision
Fix copy elision warning
2 parents 24a9122 + ff58f87 commit 3c7cc2e

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)