From aee8271fe34d358041df72a554c844f4fc4d7185 Mon Sep 17 00:00:00 2001 From: Vijay Pai Date: Thu, 20 Sep 2018 00:08:54 -0700 Subject: Fix a Status, and resolve reviewer comments --- src/compiler/cpp_generator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler') diff --git a/src/compiler/cpp_generator.cc b/src/compiler/cpp_generator.cc index ff0b40f587..0acd211009 100644 --- a/src/compiler/cpp_generator.cc +++ b/src/compiler/cpp_generator.cc @@ -593,7 +593,7 @@ void PrintHeaderClientMethodCallbackInterfacesEnd( printer->Print("};\n"); // Declare a function to give the async stub contents. It can't be pure - // since this is new API in StubInterface, but it is meaningless by default + // since this is a new API in StubInterface, but it is meaningless by default // (since any stub that wants to use it must have its own implementation of // the callback functions therein), so make the default return value nullptr. // Intentionally include the word "class" to avoid possible shadowing. @@ -1379,7 +1379,7 @@ void PrintSourceClientMethod(grpc_generator::Printer* printer, "void $ns$$Service$::Stub::experimental_async::$Method$(" "::grpc::ClientContext* context, " "const $Request$* request, $Response$* response, " - "std::function f) {\n"); + "std::function f) {\n"); printer->Print(*vars, " return ::grpc::internal::CallbackUnaryCall" "(stub_->channel_.get(), stub_->rpcmethod_$Method$_, " -- cgit v1.2.3