From 4fac82b6728d16212a9ba7e3d78f8cc6ac9df357 Mon Sep 17 00:00:00 2001 From: yang-g Date: Fri, 15 Jan 2016 13:15:32 -0800 Subject: [PATCH] remove outdated api --- include/grpc++/generic/async_generic_service.h | 1 - test/cpp/end2end/generic_end2end_test.cc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/grpc++/generic/async_generic_service.h b/include/grpc++/generic/async_generic_service.h index a2757ab0dce..748311dbe7e 100644 --- a/include/grpc++/generic/async_generic_service.h +++ b/include/grpc++/generic/async_generic_service.h @@ -59,7 +59,6 @@ class GenericServerContext GRPC_FINAL : public ServerContext { class AsyncGenericService GRPC_FINAL { public: AsyncGenericService() : server_(nullptr) {} - AsyncGenericService(const grpc::string& methods) : server_(nullptr) {} void RequestCall(GenericServerContext* ctx, GenericServerAsyncReaderWriter* reader_writer, diff --git a/test/cpp/end2end/generic_end2end_test.cc b/test/cpp/end2end/generic_end2end_test.cc index ba2717a460b..4e6d50ea80f 100644 --- a/test/cpp/end2end/generic_end2end_test.cc +++ b/test/cpp/end2end/generic_end2end_test.cc @@ -73,7 +73,7 @@ void verify_ok(CompletionQueue* cq, int i, bool expect_ok) { class GenericEnd2endTest : public ::testing::Test { protected: - GenericEnd2endTest() : generic_service_("*"), server_host_("localhost") {} + GenericEnd2endTest() : server_host_("localhost") {} void SetUp() GRPC_OVERRIDE { int port = grpc_pick_unused_port_or_die();