You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file record_batch.cc there are some places that using move semantic
can avoid coping vector or increasing reference count of shared_ptr.
Signed-off-by: Zhao Junwang <zhjwpku@gmail.com>
### 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>
Describe the enhancement requested
In file record_batch.cc there are some places that using move semantic can avoid coping vector or increasing reference count of shared_ptr.
Component(s)
C++
The text was updated successfully, but these errors were encountered: