From 87dc87abdb31f577d6b7e84c14ee4061fd586dad Mon Sep 17 00:00:00 2001 From: arches Date: Mon, 20 Jun 2016 06:24:09 -0400 Subject: [PATCH] Removed createResponse --- etcd/Response.hpp | 2 -- src/Response.cpp | 6 ------ 2 files changed, 8 deletions(-) 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) {