diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-10-12 13:26:21 -0700 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-10-12 14:09:03 -0700 |
commit | 54a902ed17a69c671e5212b115fe5f219654240a (patch) | |
tree | 875e994f7662efb8b77e82ad5d1efea36647d091 /include/grpc++/client_context.h | |
parent | 26bf71ce37d39bb3dd2c1ae01fa837db8a082799 (diff) |
Successfully compile C++ libary (not tests yet).
Diffstat (limited to 'include/grpc++/client_context.h')
-rw-r--r-- | include/grpc++/client_context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grpc++/client_context.h b/include/grpc++/client_context.h index 7046f939e5..17b66ddbca 100644 --- a/include/grpc++/client_context.h +++ b/include/grpc++/client_context.h @@ -69,7 +69,7 @@ namespace grpc { class Channel; class CompletionQueue; -class Credentials; +class CallCredentials; class RpcMethod; template <class R> class ClientReader; @@ -244,7 +244,7 @@ class ClientContext { /// call. /// /// \see https://github.com/grpc/grpc/blob/master/doc/grpc-auth-support.md - void set_credentials(const std::shared_ptr<Credentials>& creds) { + void set_credentials(const std::shared_ptr<CallCredentials>& creds) { creds_ = creds; } @@ -318,7 +318,7 @@ class ClientContext { grpc_call* call_; gpr_timespec deadline_; grpc::string authority_; - std::shared_ptr<Credentials> creds_; + std::shared_ptr<CallCredentials> creds_; mutable std::shared_ptr<const AuthContext> auth_context_; struct census_context* census_context_; std::multimap<grpc::string, grpc::string> send_initial_metadata_; |