From f9724d1bde4fd54bbeadf6a8195911cb366432e3 Mon Sep 17 00:00:00 2001 From: Gautham B A Date: Mon, 9 Dec 2019 23:58:31 +0530 Subject: [PATCH] [gRPC] Uncomment MessageBuilder (#5658) The line where the MessageBuilder was constructed was commented out (perhaps an oversight). --- grpc/samples/greeter/server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grpc/samples/greeter/server.cpp b/grpc/samples/greeter/server.cpp index 82c97dc51..db442593d 100644 --- a/grpc/samples/greeter/server.cpp +++ b/grpc/samples/greeter/server.cpp @@ -12,7 +12,8 @@ class GreeterServiceImpl final : public Greeter::Service { grpc::ServerContext *context, const flatbuffers::grpc::Message *request_msg, flatbuffers::grpc::Message *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();