From d4d143796fa5af7b74aa2801b4e38704f9c095b7 Mon Sep 17 00:00:00 2001 From: Helin Wang Date: Wed, 17 Jan 2018 13:14:55 -0800 Subject: [PATCH] Fix build error --- paddle/operators/detail/grpc_server.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/paddle/operators/detail/grpc_server.cc b/paddle/operators/detail/grpc_server.cc index c0b94746a0b..5e35d0cec85 100644 --- a/paddle/operators/detail/grpc_server.cc +++ b/paddle/operators/detail/grpc_server.cc @@ -36,7 +36,10 @@ class RequestBase { CallStatus Status() { return status_; } void SetStatus(CallStatus status) { status_ = status; } - virtual std::string GetReqName() { assert(false); } + virtual std::string GetReqName() { + assert(false); + return ""; + } protected: grpc::ServerContext ctx_; -- GitLab