[gRPC] Uncomment MessageBuilder (#5658)
The line where the MessageBuilder was constructed was commented out (perhaps an oversight).
This commit is contained in:
parent
b20801ca40
commit
f9724d1bde
|
@ -12,7 +12,8 @@ class GreeterServiceImpl final : public Greeter::Service {
|
|||
grpc::ServerContext *context,
|
||||
const flatbuffers::grpc::Message<HelloRequest> *request_msg,
|
||||
flatbuffers::grpc::Message<HelloReply> *response_msg) override {
|
||||
// flatbuffers::grpc::MessageBuilder mb_;
|
||||
flatbuffers::grpc::MessageBuilder mb_;
|
||||
|
||||
// We call GetRoot to "parse" the message. Verification is already
|
||||
// performed by default. See the notes below for more details.
|
||||
const HelloRequest *request = request_msg->GetRoot();
|
||||
|
|
Loading…
Reference in New Issue