Skip to content

Commit 0399039

Browse files
hiroyuki-satokou
andauthored
Update cpp/src/parquet/arrow/reader.cc
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
1 parent 39c9737 commit 0399039

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cpp/src/parquet/arrow/reader.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,9 +1350,8 @@ Status FileReader::Make(::arrow::MemoryPool* pool,
13501350
Status FileReader::Make(::arrow::MemoryPool* pool,
13511351
std::unique_ptr<ParquetFileReader> reader,
13521352
std::unique_ptr<FileReader>* out) {
1353-
ARROW_ASSIGN_OR_RAISE(auto result,
1353+
ARROW_ASSIGN_OR_RAISE(*out,
13541354
Make(pool, std::move(reader), default_arrow_reader_properties()));
1355-
*out = std::move(result);
13561355
return Status::OK();
13571356
}
13581357

0 commit comments

Comments
 (0)