[gRPC] Uncomment MessageBuilder (#5658)

The line where the MessageBuilder was
constructed was commented out (perhaps
an oversight).
This commit is contained in:
Gautham B A 2019-12-09 23:58:31 +05:30 committed by Wouter van Oortmerssen
parent b20801ca40
commit f9724d1bde
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ class GreeterServiceImpl final : public Greeter::Service {
grpc::ServerContext *context, grpc::ServerContext *context,
const flatbuffers::grpc::Message<HelloRequest> *request_msg, const flatbuffers::grpc::Message<HelloRequest> *request_msg,
flatbuffers::grpc::Message<HelloReply> *response_msg) override { 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 // We call GetRoot to "parse" the message. Verification is already
// performed by default. See the notes below for more details. // performed by default. See the notes below for more details.
const HelloRequest *request = request_msg->GetRoot(); const HelloRequest *request = request_msg->GetRoot();