kou commented on code in PR #41111:
URL: https://github.com/apache/arrow/pull/41111#discussion_r1558553188


##########
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:
   Please don't mix unrelated changes.
   These changes are for https://github.com/apache/arrow/pull/41107 , right?



-- 
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]

Reply via email to