remove outdated api

pull/4714/head
yang-g 9 years ago
parent ad63510102
commit 4fac82b672
  1. 1
      include/grpc++/generic/async_generic_service.h
  2. 2
      test/cpp/end2end/generic_end2end_test.cc

@ -59,7 +59,6 @@ class GenericServerContext GRPC_FINAL : public ServerContext {
class AsyncGenericService GRPC_FINAL { class AsyncGenericService GRPC_FINAL {
public: public:
AsyncGenericService() : server_(nullptr) {} AsyncGenericService() : server_(nullptr) {}
AsyncGenericService(const grpc::string& methods) : server_(nullptr) {}
void RequestCall(GenericServerContext* ctx, void RequestCall(GenericServerContext* ctx,
GenericServerAsyncReaderWriter* reader_writer, GenericServerAsyncReaderWriter* reader_writer,

@ -73,7 +73,7 @@ void verify_ok(CompletionQueue* cq, int i, bool expect_ok) {
class GenericEnd2endTest : public ::testing::Test { class GenericEnd2endTest : public ::testing::Test {
protected: protected:
GenericEnd2endTest() : generic_service_("*"), server_host_("localhost") {} GenericEnd2endTest() : server_host_("localhost") {}
void SetUp() GRPC_OVERRIDE { void SetUp() GRPC_OVERRIDE {
int port = grpc_pick_unused_port_or_die(); int port = grpc_pick_unused_port_or_die();

Loading…
Cancel
Save