diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-10-17 22:23:02 -0700 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-10-17 22:23:02 -0700 |
commit | 8c48a2a196e93f69e124464037563eb49a0341d5 (patch) | |
tree | 9f1964fe0f13d7d40ee940d10e86a50288ae587e /examples/cpp/route_guide | |
parent | 3bb61d8917a506c8bbeadfa651f59ec37c74849f (diff) |
Fixing cpp examples.
Diffstat (limited to 'examples/cpp/route_guide')
-rw-r--r-- | examples/cpp/route_guide/route_guide_client.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/cpp/route_guide/route_guide_client.cc b/examples/cpp/route_guide/route_guide_client.cc index 85173a3932..b9abe72a5b 100644 --- a/examples/cpp/route_guide/route_guide_client.cc +++ b/examples/cpp/route_guide/route_guide_client.cc @@ -234,7 +234,8 @@ int main(int argc, char** argv) { // Expect only arg: --db_path=path/to/route_guide_db.json. std::string db = routeguide::GetDbFileContent(argc, argv); RouteGuideClient guide( - grpc::CreateChannel("localhost:50051", grpc::InsecureCredentials()), + grpc::CreateChannel("localhost:50051", + grpc::InsecureChannelCredentials()), db); std::cout << "-------------- GetFeature --------------" << std::endl; |