Skip to content

Commit

Permalink
http_pipeline does not have correct semantics under move.
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0219-msft committed Apr 14, 2016
1 parent baa8c9b commit ba2adb3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Release/src/http/client/http_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,11 @@ class http_pipeline
http_pipeline(std::shared_ptr<details::_http_client_communicator> last) : m_last_stage(std::move(last))
{}

// No copy or assignment.
http_pipeline & operator=(const http_pipeline &) = delete;
// pplx::extensibility::recursive_lock_t does not support move/copy, but does not delete the functions either.
http_pipeline(const http_pipeline &) = delete;
http_pipeline(http_pipeline &&) = delete;
http_pipeline & operator=(const http_pipeline &) = delete;
http_pipeline & operator=(http_pipeline &&) = delete;

/// <summary>
/// Initiate an http request into the pipeline
Expand Down

0 comments on commit ba2adb3

Please sign in to comment.