add struct include/grpc++/server_context.h src/cpp/server/server_context.cc

pull/2670/head
Alistair Veitch 10 years ago
parent cf39e94872
commit 100a6e1d82
  1. 2
      include/grpc++/server_context.h
  2. 2
      src/cpp/server/server_context.cc

@ -117,7 +117,7 @@ class ServerContext {
std::shared_ptr<const AuthContext> auth_context() const;
const census_context* get_census_context() const;
const struct census_context* census_context() const;
private:
friend class ::grpc::testing::InteropContextInspector;

@ -180,7 +180,7 @@ std::shared_ptr<const AuthContext> ServerContext::auth_context() const {
return auth_context_;
}
const census_context* ServerContext::get_census_context() const {
const struct census_context* ServerContext::census_context() const {
return grpc_census_call_get_context(call_);
}

Loading…
Cancel
Save