Explorar o código

Switch name to fc_unary

vjpai %!s(int64=9) %!d(string=hai) anos
pai
achega
34edfc3ad7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/compiler/cpp_generator.cc

+ 1 - 1
src/compiler/cpp_generator.cc

@@ -649,7 +649,7 @@ void PrintHeaderServerMethodFCUnary(
         *vars,
         "// replace default version of this method with FCUnary\n"
         "::grpc::Status $Method$("
-        "::grpc::ServerContext* context, ::grpc::FCUnary< $Request$,$Response$>* streaming_unary)"
+        "::grpc::ServerContext* context, ::grpc::FCUnary< $Request$,$Response$>* fc_unary)"
         " GRPC_FINAL GRPC_OVERRIDE;\n");
     printer->Outdent();
     printer->Print(*vars, "};\n");