Skip to content
Snippets Groups Projects
Commit e8200ba0 authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix GCC compilation

parent e6ee9b40
No related branches found
No related tags found
No related merge requests found
......@@ -98,9 +98,7 @@ class CallOpSendMessage {
CallOpSendMessage() : send_buf_(nullptr), own_buf_(false) {}
template <class M>
bool SendMessage(const M& message) GRPC_MUST_USE_RESULT {
return SerializationTraits<M>::Serialize(message, &send_buf_, &own_buf_);
}
bool SendMessage(const M& message) GRPC_MUST_USE_RESULT;
protected:
void AddOp(grpc_op* ops, size_t* nops) {
......@@ -118,6 +116,11 @@ class CallOpSendMessage {
bool own_buf_;
};
template <class M>
bool CallOpSendMessage::SendMessage(const M& message) {
return SerializationTraits<M>::Serialize(message, &send_buf_, &own_buf_);
}
template <class R>
class CallOpRecvMessage {
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment