From a5e3d89649247384acdd795295febf6a310e402e Mon Sep 17 00:00:00 2001 From: Vladimir Chebotarev Date: Fri, 4 Dec 2020 13:37:08 +0300 Subject: [PATCH] Attempt to use IOStream in AWS SDK. --- src/IO/S3/PocoHTTPResponseStream.cpp | 2 +- src/IO/S3/PocoHTTPResponseStream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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_);