diff options
author | Noah Eisen <ncteisen@google.com> | 2017-07-06 09:34:06 -0700 |
---|---|---|
committer | Noah Eisen <ncteisen@google.com> | 2017-07-06 09:34:06 -0700 |
commit | 67a40548ca96a652fb863212f8d116762347fc5e (patch) | |
tree | 6a112917dc73ec074898460bbc7833d0afcb6dcc /include | |
parent | 36bb8a00067a15db55d72b4ce4f2784d3ebb5caa (diff) |
Initialize pending_ops false
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/impl/codegen/server_context.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/grpc++/impl/codegen/server_context.h b/include/grpc++/impl/codegen/server_context.h index d149987fa2..b5e37fd12b 100644 --- a/include/grpc++/impl/codegen/server_context.h +++ b/include/grpc++/impl/codegen/server_context.h @@ -273,8 +273,6 @@ class ServerContext { uint32_t initial_metadata_flags() const { return 0; } - CallOpSet<CallOpSendInitialMetadata, CallOpSendMessage> pending_ops_; - bool has_pending_ops_; CompletionOp* completion_op_; bool has_notify_when_done_tag_; void* async_notify_when_done_tag_; @@ -291,6 +289,9 @@ class ServerContext { bool compression_level_set_; grpc_compression_level compression_level_; grpc_compression_algorithm compression_algorithm_; + + CallOpSet<CallOpSendInitialMetadata, CallOpSendMessage> pending_ops_; + bool has_pending_ops_; }; } // namespace grpc |