diff --git a/src/IO/S3/PocoHTTPResponseStream.cpp b/src/IO/S3/PocoHTTPResponseStream.cpp index b35188d9498..93f85d65e30 100644 --- a/src/IO/S3/PocoHTTPResponseStream.cpp +++ b/src/IO/S3/PocoHTTPResponseStream.cpp @@ -10,7 +10,7 @@ namespace DB::S3 { PocoHTTPResponseStream::PocoHTTPResponseStream(std::shared_ptr session_, std::istream & response_stream_) - : Aws::IStream(response_stream_.rdbuf()), session(std::move(session_)) + : Aws::IOStream(response_stream_.rdbuf()), session(std::move(session_)) { } diff --git a/src/IO/S3/PocoHTTPResponseStream.h b/src/IO/S3/PocoHTTPResponseStream.h index 8167ddc4346..fe3df6e52a7 100644 --- a/src/IO/S3/PocoHTTPResponseStream.h +++ b/src/IO/S3/PocoHTTPResponseStream.h @@ -8,7 +8,7 @@ namespace DB::S3 /** * Wrapper of IStream to store response stream and corresponding HTTP session. */ -class PocoHTTPResponseStream : public Aws::IStream +class PocoHTTPResponseStream : public Aws::IOStream { public: PocoHTTPResponseStream(std::shared_ptr session_, std::istream & response_stream_);