File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ struct UseMD5ValueOption {
8383 * @endcode
8484 */
8585struct MaximumRangeSizeOption {
86- using Type = std::uint64_t ;
86+ using Type = std::int64_t ;
8787};
8888
8989GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ ObjectDescriptorImpl::ObjectDescriptorImpl(
4242 streams_{std::move (stream)} {}
4343
4444ObjectDescriptorImpl::~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
5555void ObjectDescriptorImpl::Cancel () {
56- for (auto stream : streams_) {
56+ for (auto const & stream : streams_) {
5757 stream->Cancel ();
5858 }
5959}
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments