diff options
author | yang-g <yangg@google.com> | 2015-07-29 11:38:18 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-07-29 11:38:18 -0700 |
commit | 9a009f2a759215d3cae7463d519a3421dcadcbdb (patch) | |
tree | 432964cc11d0c2d0bd15883d53b2287a2cc70a4d /include/grpc++/client_context.h | |
parent | ef4aac6dae380ba6314847eef8457c928956f9ee (diff) |
make accessors from get_x() to x()
Diffstat (limited to 'include/grpc++/client_context.h')
-rw-r--r-- | include/grpc++/client_context.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/grpc++/client_context.h b/include/grpc++/client_context.h index 9df76699d2..5cf4d3328a 100644 --- a/include/grpc++/client_context.h +++ b/include/grpc++/client_context.h @@ -110,7 +110,7 @@ class ClientContext { creds_ = creds; } - grpc_compression_algorithm get_compression_algorithm() const { + grpc_compression_algorithm compression_algorithm() const { return compression_algorithm_; } @@ -119,8 +119,8 @@ class ClientContext { std::shared_ptr<const AuthContext> auth_context() const; // Get and set census context - void set_census_context(census_context* ccp) { census_context_ = ccp; } - census_context* get_census_context() const { return census_context_; } + void set_census_context(struct census_context* ccp) { census_context_ = ccp; } + struct census_context* census_context() const { return census_context_; } void TryCancel(); @@ -170,7 +170,7 @@ class ClientContext { grpc::string authority_; std::shared_ptr<Credentials> creds_; mutable std::shared_ptr<const AuthContext> auth_context_; - census_context* census_context_; + struct census_context* census_context_; std::multimap<grpc::string, grpc::string> send_initial_metadata_; std::multimap<grpc::string, grpc::string> recv_initial_metadata_; std::multimap<grpc::string, grpc::string> trailing_metadata_; |