Skip to content

Commit

Permalink
Avoid designated initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Newton committed Oct 18, 2023
1 parent 7f329cc commit 13929d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/filesystem/azurefs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ class ObjectInputFile final : public io::RandomAccessFile {
}

// Read the desired range of bytes
Azure::Core::Http::HttpRange range{.Offset = position, .Length = nbytes};
Azure::Storage::Blobs::DownloadBlobToOptions download_options{.Range = range};
Azure::Core::Http::HttpRange range{position, nbytes};
Azure::Storage::Blobs::DownloadBlobToOptions download_options{range};
try {
return blob_client_
->DownloadTo(reinterpret_cast<uint8_t*>(out), nbytes, download_options)
Expand Down

0 comments on commit 13929d8

Please sign in to comment.