diff --git a/etcd/Response.hpp b/etcd/Response.hpp index bdabbb8..4baba30 100644 --- a/etcd/Response.hpp +++ b/etcd/Response.hpp @@ -25,8 +25,6 @@ namespace etcd public: static pplx::task create(pplx::task response_task); - static pplx::task createResponse(const etcdv3::V3Response& response); - templatestatic pplx::task create(std::shared_ptr call) { return pplx::task([call]() diff --git a/src/Response.cpp b/src/Response.cpp index 4565dc0..09770b1 100644 --- a/src/Response.cpp +++ b/src/Response.cpp @@ -14,12 +14,6 @@ pplx::task etcd::Response::create(pplx::task etcd::Response::createResponse(const etcdv3::V3Response& response) -{ - return pplx::task([response](){ - return etcd::Response(response); - }); -} etcd::Response::Response(const etcdv3::V3Response& reply) {