aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/create_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/grpc++/create_channel.h')
-rw-r--r--include/grpc++/create_channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/create_channel.h b/include/grpc++/create_channel.h
index da375b97db..424a93a64c 100644
--- a/include/grpc++/create_channel.h
+++ b/include/grpc++/create_channel.h
@@ -45,7 +45,7 @@ class ChannelInterface;
// If creds does not hold an object or is invalid, a lame channel is returned.
std::shared_ptr<ChannelInterface> CreateChannel(
- const grpc::string& target, const std::unique_ptr<Credentials>& creds,
+ const grpc::string& target, const std::shared_ptr<Credentials>& creds,
const ChannelArguments& args);
} // namespace grpc