aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2017-02-15 00:05:00 -0800
committerGravatar yang-g <yangg@google.com>2017-02-22 23:04:06 -0800
commitc42d844d27bc76c817c53802b3e1cf09a2360d04 (patch)
tree2b5363e1197feb8a76e70e4e102979ba76534cc8 /include/grpc++
parent25bbef639e538cc8c057b04ec102f5593cf36974 (diff)
Let ServerContext own the initial_metadata array for sync calls
Diffstat (limited to 'include/grpc++')
-rw-r--r--include/grpc++/impl/codegen/server_context.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/grpc++/impl/codegen/server_context.h b/include/grpc++/impl/codegen/server_context.h
index 43bbff6ce9..bf9a9b6f1a 100644
--- a/include/grpc++/impl/codegen/server_context.h
+++ b/include/grpc++/impl/codegen/server_context.h
@@ -213,8 +213,7 @@ class ServerContext {
void BeginCompletionOp(Call* call);
- ServerContext(gpr_timespec deadline, grpc_metadata* metadata,
- size_t metadata_count);
+ ServerContext(gpr_timespec deadline, grpc_metadata_array* arr);
void set_call(grpc_call* call) { call_ = call; }