Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion python/array_record_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.

#include <stdexcept>
#include <string>
#include <utility>
#include <vector>

#include "absl/status/status.h"
Expand Down Expand Up @@ -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<riegeli::FdReader>(path, file_reader_options),
riegeli::Maker<riegeli::FdReader>(
path, std::move(file_reader_options)),
status_or_option.value(),
array_record::ArrayRecordGlobalPool());
}),
Expand Down
Loading