Commits


zhjwpku authored and GitHub committed 68a30f6433e
GH-36342: [C++] Add missing move semantic to RecordBatch (#36343) ### Rationale for this change In file record_batch.cc there are some places that using move semantic can avoid coping vector or increasing reference count of shared_ptr. ### What changes are included in this PR? add std::move at some proper places ### Are these changes tested? Yes, run `ctest -R arrow-table-test` locally. ### Are there any user-facing changes? No * Closes: #36342 Authored-by: Zhao Junwang <zhjwpku@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>