diff options
author | Craig Tiller <ctiller@google.com> | 2015-03-03 10:04:51 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-03-03 10:04:51 -0800 |
commit | 5589c35fedb441492c63a13ffc56297368ec1e21 (patch) | |
tree | 1cd8118e6b342cba9140ab19984719ffdc079c25 /examples | |
parent | 07b3d3135890fe341c477f720da051f7590fe6ef (diff) |
Compile fix
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pubsub/main.cc | 3 |
1 files changed, 1 insertions, 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()); |