File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ class http_client
442
442
// / Adds an HTTP pipeline stage to the client.
443
443
// / </summary>
444
444
// / <param name="handler">A function object representing the pipeline stage.</param>
445
- _ASYNCRTIMP void add_handler (const std::function<pplx::task<http_response>(http_request, std::shared_ptr<http::http_pipeline_stage>)> &handler);
445
+ _ASYNCRTIMP void add_handler (const std::function<pplx::task<http_response> __cdecl (http_request, std::shared_ptr<http::http_pipeline_stage>)> &handler);
446
446
447
447
448
448
// / <summary>
Original file line number Diff line number Diff line change @@ -331,12 +331,12 @@ class http_pipeline
331
331
pplx::extensibility::recursive_lock_t m_lock;
332
332
};
333
333
334
- void http_client::add_handler (const std::function<pplx::task<http_response>(http_request, std::shared_ptr<http::http_pipeline_stage>)> &handler)
334
+ void http_client::add_handler (const std::function<pplx::task<http_response> __cdecl (http_request, std::shared_ptr<http::http_pipeline_stage>)> &handler)
335
335
{
336
336
class function_pipeline_wrapper : public http ::http_pipeline_stage
337
337
{
338
338
public:
339
- function_pipeline_wrapper (const std::function<pplx::task<http_response>(http_request, std::shared_ptr<http::http_pipeline_stage>)> &handler) : m_handler(handler)
339
+ function_pipeline_wrapper (const std::function<pplx::task<http_response> __cdecl (http_request, std::shared_ptr<http::http_pipeline_stage>)> &handler) : m_handler(handler)
340
340
{
341
341
}
342
342
You can’t perform that action at this time.
0 commit comments