Skip to content

Commit d7aa931

Browse files
committed
ci failure fix
1 parent b122ce3 commit d7aa931

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

google/cloud/storage/async/options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ struct UseMD5ValueOption {
8383
* @endcode
8484
*/
8585
struct MaximumRangeSizeOption {
86-
using Type = std::uint64_t;
86+
using Type = std::int64_t;
8787
};
8888

8989
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ObjectDescriptorImpl::ObjectDescriptorImpl(
4242
streams_{std::move(stream)} {}
4343

4444
ObjectDescriptorImpl::~ObjectDescriptorImpl() {
45-
for (auto stream : streams_) {
45+
for (auto const& stream : streams_) {
4646
stream->Cancel();
4747
}
4848
}
@@ -53,7 +53,7 @@ void ObjectDescriptorImpl::Start(
5353
}
5454

5555
void ObjectDescriptorImpl::Cancel() {
56-
for (auto stream : streams_) {
56+
for (auto const& stream : streams_) {
5757
stream->Cancel();
5858
}
5959
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ class ObjectDescriptorImpl
101101

102102
mutable std::mutex mu_;
103103
google::storage::v2::BidiReadObjectSpec read_object_spec_;
104-
std::shared_ptr<OpenStream> stream_;
105104
absl::optional<google::storage::v2::Object> metadata_;
106105
std::int64_t read_id_generator_ = 0;
107106
bool write_pending_ = false;

0 commit comments

Comments
 (0)