Removed createResponse

This commit is contained in:
arches 2016-06-20 06:24:09 -04:00
parent 1ff6d64d98
commit 87dc87abdb
2 changed files with 0 additions and 8 deletions

View File

@ -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]()

View File

@ -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)
{