Skip to content

Commit 39c9737

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

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
@@ -1343,8 +1343,7 @@ Status FileReader::Make(::arrow::MemoryPool* pool,
13431343
std::unique_ptr<ParquetFileReader> reader,
13441344
const ArrowReaderProperties& properties,
13451345
std::unique_ptr<FileReader>* out) {
1346-
ARROW_ASSIGN_OR_RAISE(auto result, Make(pool, std::move(reader), properties));
1347-
*out = std::move(result);
1346+
ARROW_ASSIGN_OR_RAISE(*out, Make(pool, std::move(reader), properties));
13481347
return Status::OK();
13491348
}
13501349

0 commit comments

Comments
 (0)