aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/cpp/route_guide
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-08-28 14:17:33 -0700
committerGravatar yang-g <yangg@google.com>2015-08-28 14:17:33 -0700
commit75d04da2e4d31753c9d8a8bb46a7260e3e44484b (patch)
tree1428ab2e534eb05fac858bf659f64ad57c464a3c /examples/cpp/route_guide
parent623860f7d9335fc6eb147d7f6606782d4bed0d77 (diff)
sync up with CreateChannel API change
Diffstat (limited to 'examples/cpp/route_guide')
-rw-r--r--examples/cpp/route_guide/route_guide_client.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/cpp/route_guide/route_guide_client.cc b/examples/cpp/route_guide/route_guide_client.cc
index 814def27f3..fe998079c4 100644
--- a/examples/cpp/route_guide/route_guide_client.cc
+++ b/examples/cpp/route_guide/route_guide_client.cc
@@ -235,8 +235,7 @@ int main(int argc, char** argv) {
// Expect only arg: --db_path=path/to/route_guide_db.json.
std::string db = examples::GetDbFileContent(argc, argv);
RouteGuideClient guide(
- grpc::CreateChannel("localhost:50051", grpc::InsecureCredentials(),
- ChannelArguments()),
+ grpc::CreateChannel("localhost:50051", grpc::InsecureCredentials()),
db);
std::cout << "-------------- GetFeature --------------" << std::endl;