diff options
author | Vijay Pai <vpai@google.com> | 2018-09-20 00:08:54 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2018-09-20 00:08:54 -0700 |
commit | aee8271fe34d358041df72a554c844f4fc4d7185 (patch) | |
tree | f0fcdd57bcbb1cea0b12716e588893b02e071524 /src/compiler | |
parent | 9e6511ae2eb3c982bcea88096cbe079147b25fa4 (diff) |
Fix a Status, and resolve reviewer comments
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/cpp_generator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<void(Status)> f) {\n"); + "std::function<void(::grpc::Status)> f) {\n"); printer->Print(*vars, " return ::grpc::internal::CallbackUnaryCall" "(stub_->channel_.get(), stub_->rpcmethod_$Method$_, " |