Skip to content

Commit b122ce3

Browse files
committed
Ci failure fix
1 parent 95a6805 commit b122ce3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

google/cloud/storage/async/object_descriptor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ absl::optional<google::storage::v2::Object> ObjectDescriptor::metadata() const {
2727

2828
std::pair<AsyncReader, AsyncToken> ObjectDescriptor::Read(std::int64_t offset,
2929
std::int64_t limit) {
30-
auto max_range =
30+
std::int64_t max_range =
3131
impl_->options().get<storage_experimental::MaximumRangeSizeOption>();
3232
if (limit > max_range) {
3333
impl_->MakeSubsequentStream();

google/cloud/storage/internal/async/object_descriptor_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ class ObjectDescriptorImpl
109109

110110
std::unordered_map<std::int64_t, std::shared_ptr<ReadRange>> active_ranges_;
111111
Options options_;
112+
std::int64_t active_stream_ = 0;
112113
std::vector<std::shared_ptr<OpenStream>> streams_ = {};
113-
int active_stream_;
114114
};
115115

116116
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END

0 commit comments

Comments
 (0)