Skip to content

Commit

Permalink
fix(storage): missing include (#14052)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolduc authored Apr 24, 2024
1 parent 4dad770 commit adcfe80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion google/cloud/storage/internal/retry_object_read_source.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include "google/cloud/storage/internal/retry_object_read_source.h"
#include <algorithm>
#include <sstream>
#include <string>
#include <thread>

Expand Down Expand Up @@ -99,7 +100,7 @@ StatusOr<ReadSourceResult> RetryObjectReadSource::Read(char* buf,
if (HandleResult(result)) return result;
// We have exhausted the retry policy, return the error.
auto status = std::move(result).status();
std::stringstream os;
std::ostringstream os;
if (internal::StatusTraits::IsPermanentFailure(status)) {
os << "Permanent error in Read(): " << status.message();
} else {
Expand Down

0 comments on commit adcfe80

Please sign in to comment.