From d34c690e8d0e080d7bfb4117b80d32e6d2354ba1 Mon Sep 17 00:00:00 2001 From: Chen Wang <chenw@google.com> Date: Thu, 22 Jan 2015 15:12:20 -0800 Subject: [PATCH] delete using grpc:: --- examples/tips/client.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/tips/client.cc b/examples/tips/client.cc index a902a21c3c..695ff80e8a 100644 --- a/examples/tips/client.cc +++ b/examples/tips/client.cc @@ -35,7 +35,6 @@ #include "examples/tips/client.h" -using grpc::ClientContext; using tech::pubsub::Topic; using tech::pubsub::PublisherService; @@ -43,7 +42,7 @@ namespace grpc { namespace examples { namespace tips { -Client::Client(std::shared_ptr<grpc::ChannelInterface> channel) +Client::Client(std::shared_ptr<ChannelInterface> channel) : stub_(PublisherService::NewStub(channel)) { } @@ -51,7 +50,7 @@ Status Client::CreateTopic(grpc::string topic) { Topic request; Topic response; request.set_name(topic); - grpc::ClientContext context; + ClientContext context; return stub_->CreateTopic(&context, request, &response); } -- GitLab