diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-05-24 10:43:16 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-05-24 10:43:16 -0700 |
commit | 10372259a9eeb97a02113b1e97b3e6bbfff67731 (patch) | |
tree | d25dd22f1a880477198bb12221300e44af2c3884 /examples/pubsub/main.cc | |
parent | c9b3e5811e3d20c94f3397b0b092e641b6ab101e (diff) | |
parent | 19def88839b15a89b4c0e79de16bd01139a0bb14 (diff) |
Merge github.com:grpc/grpc into explain-the-things
Diffstat (limited to 'examples/pubsub/main.cc')
-rw-r--r-- | examples/pubsub/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pubsub/main.cc b/examples/pubsub/main.cc index 68620e64c5..b1898f18d9 100644 --- a/examples/pubsub/main.cc +++ b/examples/pubsub/main.cc @@ -71,7 +71,7 @@ int main(int argc, char** argv) { ss << FLAGS_server_host << ":" << FLAGS_server_port; - std::unique_ptr<grpc::Credentials> creds = grpc::GoogleDefaultCredentials(); + std::shared_ptr<grpc::Credentials> creds = grpc::GoogleDefaultCredentials(); std::shared_ptr<grpc::ChannelInterface> channel = grpc::CreateChannel(ss.str(), creds, grpc::ChannelArguments()); |