WillAyd commented on code in PR #41111:
URL: https://github.com/apache/arrow/pull/41111#discussion_r1558565563
##########
cpp/src/arrow/util/decimal.h:
##########
@@ -80,7 +80,7 @@ class ARROW_EXPORT Decimal128 : public BasicDecimal128 {
std::pair<Decimal128, Decimal128> result;
auto dstatus = BasicDecimal128::Divide(divisor, &result.first,
&result.second);
ARROW_RETURN_NOT_OK(ToArrowStatus(dstatus));
- return std::move(result);
+ return result;
Review Comment:
Ah yes sorry about that. Was working off of one branch to try and get a
clean nanoarrow build so this slipped in. Will revert
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]