diff options
author | 2015-08-28 14:17:33 -0700 | |
---|---|---|
committer | 2015-08-28 14:17:33 -0700 | |
commit | 75d04da2e4d31753c9d8a8bb46a7260e3e44484b (patch) | |
tree | 1428ab2e534eb05fac858bf659f64ad57c464a3c /examples/cpp/helloworld/greeter_client.cc | |
parent | 623860f7d9335fc6eb147d7f6606782d4bed0d77 (diff) |
sync up with CreateChannel API change
Diffstat (limited to 'examples/cpp/helloworld/greeter_client.cc')
-rw-r--r-- | examples/cpp/helloworld/greeter_client.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/cpp/helloworld/greeter_client.cc b/examples/cpp/helloworld/greeter_client.cc index dd0358ac95..2b542cd834 100644 --- a/examples/cpp/helloworld/greeter_client.cc +++ b/examples/cpp/helloworld/greeter_client.cc @@ -75,8 +75,7 @@ class GreeterClient { int main(int argc, char** argv) { GreeterClient greeter( - grpc::CreateChannel("localhost:50051", grpc::InsecureCredentials(), - ChannelArguments())); + grpc::CreateChannel("localhost:50051", grpc::InsecureCredentials())); std::string user("world"); std::string reply = greeter.SayHello(user); std::cout << "Greeter received: " << reply << std::endl; |