From 6cbfde75d747832769baffa40a8858046bfc1532 Mon Sep 17 00:00:00 2001 From: Marcin Kowalczyk Date: Thu, 5 Jun 2025 07:14:53 -0700 Subject: [PATCH] Apply `std::move()` to final occurrences of options. PiperOrigin-RevId: 767592148 --- python/array_record_module.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/array_record_module.cc b/python/array_record_module.cc index d1b91a5..2bff909 100644 --- a/python/array_record_module.cc +++ b/python/array_record_module.cc @@ -18,6 +18,7 @@ limitations under the License. #include #include +#include #include #include "absl/status/status.h" @@ -91,7 +92,8 @@ PYBIND11_MODULE(array_record_module, m) { // Release the GIL because IO is time consuming. py::gil_scoped_release scoped_release; return new array_record::ArrayRecordReader( - riegeli::Maker(path, file_reader_options), + riegeli::Maker( + path, std::move(file_reader_options)), status_or_option.value(), array_record::ArrayRecordGlobalPool()); }),