From 5589c35fedb441492c63a13ffc56297368ec1e21 Mon Sep 17 00:00:00 2001 From: Craig Tiller <ctiller@google.com> Date: Tue, 3 Mar 2015 10:04:51 -0800 Subject: [PATCH] Compile fix --- examples/pubsub/main.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/pubsub/main.cc b/examples/pubsub/main.cc index ce22cfa156..6f7737e247 100644 --- a/examples/pubsub/main.cc +++ b/examples/pubsub/main.cc @@ -79,8 +79,7 @@ int main(int argc, char** argv) { ss << FLAGS_server_host << ":" << FLAGS_server_port; - std::unique_ptr<grpc::Credentials> creds = - grpc::CredentialsFactory::GoogleDefaultCredentials(); + std::unique_ptr<grpc::Credentials> creds = grpc::GoogleDefaultCredentials(); std::shared_ptr<grpc::ChannelInterface> channel = grpc::CreateChannel(ss.str(), creds, grpc::ChannelArguments()); -- GitLab