diff options
author | Yash Tibrewal <yashkt@google.com> | 2019-01-07 17:17:01 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2019-01-07 17:20:58 -0800 |
commit | b35b449166e1c18c180701725b8ba97ab98994e0 (patch) | |
tree | dc559061b2d8f3914f15b7e70cfe64d5895ce612 /include/grpcpp/impl/codegen/call_op_set.h | |
parent | 8dcda4dc36aa4e4d3a4c46023f6470b4c1ec7bca (diff) |
Update docs according to #17630
Diffstat (limited to 'include/grpcpp/impl/codegen/call_op_set.h')
-rw-r--r-- | include/grpcpp/impl/codegen/call_op_set.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grpcpp/impl/codegen/call_op_set.h b/include/grpcpp/impl/codegen/call_op_set.h index 880c62344b..c0de5ed602 100644 --- a/include/grpcpp/impl/codegen/call_op_set.h +++ b/include/grpcpp/impl/codegen/call_op_set.h @@ -400,8 +400,9 @@ Status CallOpSendMessage::SendMessage(const M& message, WriteOptions options) { }; // Serialize immediately only if we do not have access to the message pointer if (msg_ == nullptr) { - return serializer_(&message); + Status result = serializer_(&message); serializer_ = nullptr; + return result; } return Status(); } |