We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53b8cce commit 50d171aCopy full SHA for 50d171a
src/aws-cpp-sdk-core/include/smithy/client/features/ChunkingInterceptor.h
@@ -147,10 +147,10 @@ class ChunkingInterceptor : public smithy::interceptor::Interceptor {
147
}
148
149
150
- auto chunkedBuf = Aws::MakeUnique<AwsChunkedStreamBuf>(
+ auto chunkedBuf = Aws::MakeShared<AwsChunkedStreamBuf>(
151
ALLOCATION_TAG, request.get(), originalBody);
152
auto chunkedBody = std::shared_ptr<Aws::IOStream>(
153
- new Aws::IOStream(chunkedBuf.release()));
+ new Aws::IOStream(chunkedBuf.get()));
154
155
request->AddContentBody(chunkedBody);
156
return request;
0 commit comments