Skip to content

Commit

Permalink
GH-32206: Enabling ARROW_ASSIGN_OR_RAISE to maintain return type cons…
Browse files Browse the repository at this point in the history
…istency.
  • Loading branch information
trifleneurotic authored Oct 25, 2024
1 parent 6e9979d commit 10cc19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r/src/filesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ std::shared_ptr<arrow::fs::GcsFileSystem> fs___GcsFileSystem__Make(bool anonymou

auto io_context = MainRThread::GetInstance().CancellableIOContext();

auto gcs_fs_ = fs::GcsFileSystem::Make(gcs_opts, io_context);
ARROW_ASSIGN_OR_RAISE(auto gcs_fs_, fs::GcsFileSystem::Make(gcs_opts, io_context);
return gcs_fs_;
}

Expand Down

0 comments on commit 10cc19a

Please sign in to comment.