Skip to content

Commit 803ed10

Browse files
committed
fix SmithyBidirectionalStreamingTask.h
1 parent a2aa611 commit 803ed10

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/aws-cpp-sdk-core/include/smithy/client/SmithyEventStreamingAsyncTask.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,6 @@ class AWS_CORE_LOCAL SmithyBidirectionalStreamingTask final {
109109
std::shared_ptr<Aws::Utils::Threading::Semaphore> m_sem;
110110
};
111111

112-
// A helper template factory to avoid providing all typenames for BidirectionalEventStreamingTask in the generated code
113-
// It looks like a wall of code, you can thank clang-format for this.
114-
template <typename OutcomeT, typename ClientT, typename AWSEndpointT, typename RequestT, typename HandlerT>
115-
static BidirectionalEventStreamingTask<OutcomeT, ClientT, AWSEndpointT, RequestT, HandlerT> CreateBidirectionalEventStreamTask(
116-
const ClientT* pClientThis, AWSEndpointT&& endpoint, const std::shared_ptr<RequestT>& pRequest, const HandlerT& handler,
117-
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& handlerContext,
118-
const std::shared_ptr<Aws::Utils::Event::EventEncoderStream>& stream, const Http::HttpMethod method = Aws::Http::HttpMethod::HTTP_POST,
119-
char const* const signerName = Aws::Auth::EVENTSTREAM_SIGV4_SIGNER) {
120-
return BidirectionalEventStreamingTask<OutcomeT, ClientT, AWSEndpointT, RequestT, HandlerT>(
121-
pClientThis, std::forward<AWSEndpointT>(endpoint), pRequest, handler, handlerContext, stream, method, signerName);
122-
}
123-
124112
template <typename OutcomeT, typename ClientT, typename RequestT, typename HandlerT>
125113
static SmithyBidirectionalStreamingTask<OutcomeT, ClientT, RequestT, HandlerT> CreateSmithyBidirectionalEventStreamTask(
126114
const ClientT* client, std::shared_ptr<RequestT> request, const HandlerT& handler,

0 commit comments

Comments
 (0)