diff options
author | 2017-10-17 08:56:52 -0700 | |
---|---|---|
committer | 2017-10-17 08:56:52 -0700 | |
commit | 5110b8d23bdbcad5cf37314afa256847673625c8 (patch) | |
tree | 822c59673ca0a17ead70c3a43c5d88957e2afec4 /include/grpc++/impl/codegen/call.h | |
parent | 642bdbea819825b23e6537f393da4d3c59d42f46 (diff) | |
parent | c6175eda53a3c75b2ab52295c523cbc2cc6db8e4 (diff) |
Merge github.com:grpc/grpc into verify
Diffstat (limited to 'include/grpc++/impl/codegen/call.h')
-rw-r--r-- | include/grpc++/impl/codegen/call.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/grpc++/impl/codegen/call.h b/include/grpc++/impl/codegen/call.h index d9988e51fc..00521a55ff 100644 --- a/include/grpc++/impl/codegen/call.h +++ b/include/grpc++/impl/codegen/call.h @@ -318,7 +318,11 @@ template <class M> Status CallOpSendMessage::SendMessage(const M& message, WriteOptions options) { write_options_ = options; bool own_buf; - Status result = SerializationTraits<M>::Serialize( + // TODO(vjpai): Remove the void below when possible + // The void in the template parameter below should not be needed + // (since it should be implicit) but is needed due to an observed + // difference in behavior between clang and gcc for certain internal users + Status result = SerializationTraits<M, void>::Serialize( message, send_buf_.bbuf_ptr(), &own_buf); if (!own_buf) { send_buf_.Duplicate(); |