Fix the compile error due to ByteBuffer in method_handler_impl.h

pull/20030/head
Karthik Ravi Shankar 5 years ago
parent a1c0d3442f
commit db7365753e
  1. 2
      include/grpcpp/impl/codegen/method_handler_impl.h

@ -207,7 +207,7 @@ class ServerStreamingHandler : public ::grpc::internal::MethodHandler {
void* Deserialize(grpc_call* call, grpc_byte_buffer* req,
::grpc::Status* status, void** /*handler_data*/) final {
ByteBuffer buf;
::grpc::ByteBuffer buf;
buf.set_buffer(req);
auto* request =
new (::grpc::g_core_codegen_interface->grpc_call_arena_alloc(

Loading…
Cancel
Save