diff options
author | 2015-05-14 11:51:07 -0700 | |
---|---|---|
committer | 2015-05-14 11:51:07 -0700 | |
commit | a89389283f504f989a08058d6a2af2c2217dbfcb (patch) | |
tree | e5554c5bd0a8244b03b705d68f7bb206413ac03b /examples/pubsub | |
parent | e02c1482716466ccc5fa2dab8a632dee1020e5d1 (diff) |
support per call credentials in c++
Diffstat (limited to 'examples/pubsub')
-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()); |