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()); }),