Skip to content

Commit ba2adb3

Browse files
committed
http_pipeline does not have correct semantics under move.
1 parent baa8c9b commit ba2adb3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Release/src/http/client/http_client.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,11 @@ class http_pipeline
280280
http_pipeline(std::shared_ptr<details::_http_client_communicator> last) : m_last_stage(std::move(last))
281281
{}
282282

283-
// No copy or assignment.
284-
http_pipeline & operator=(const http_pipeline &) = delete;
283+
// pplx::extensibility::recursive_lock_t does not support move/copy, but does not delete the functions either.
285284
http_pipeline(const http_pipeline &) = delete;
285+
http_pipeline(http_pipeline &&) = delete;
286+
http_pipeline & operator=(const http_pipeline &) = delete;
287+
http_pipeline & operator=(http_pipeline &&) = delete;
286288

287289
/// <summary>
288290
/// Initiate an http request into the pipeline

0 commit comments

Comments
 (0)