Removed createResponse
This commit is contained in:
parent
1ff6d64d98
commit
87dc87abdb
|
|
@ -25,8 +25,6 @@ namespace etcd
|
|||
public:
|
||||
static pplx::task<Response> create(pplx::task<web::http::http_response> response_task);
|
||||
|
||||
static pplx::task<Response> createResponse(const etcdv3::V3Response& response);
|
||||
|
||||
template<typename T>static pplx::task<etcd::Response> create(std::shared_ptr<T> call)
|
||||
{
|
||||
return pplx::task<etcd::Response>([call]()
|
||||
|
|
|
|||
|
|
@ -14,12 +14,6 @@ pplx::task<etcd::Response> etcd::Response::create(pplx::task<web::http::http_res
|
|||
);
|
||||
}
|
||||
|
||||
pplx::task<etcd::Response> etcd::Response::createResponse(const etcdv3::V3Response& response)
|
||||
{
|
||||
return pplx::task<etcd::Response>([response](){
|
||||
return etcd::Response(response);
|
||||
});
|
||||
}
|
||||
|
||||
etcd::Response::Response(const etcdv3::V3Response& reply)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue