|
|
@ -1383,6 +1383,7 @@ void PrintSourceService(grpc_generator::Printer* printer, |
|
|
|
"std::unique_ptr< $ns$$Service$::Stub> $ns$$Service$::NewStub(" |
|
|
|
"std::unique_ptr< $ns$$Service$::Stub> $ns$$Service$::NewStub(" |
|
|
|
"const std::shared_ptr< ::grpc::ChannelInterface>& channel, " |
|
|
|
"const std::shared_ptr< ::grpc::ChannelInterface>& channel, " |
|
|
|
"const ::grpc::StubOptions& options) {\n" |
|
|
|
"const ::grpc::StubOptions& options) {\n" |
|
|
|
|
|
|
|
" (void)options;\n" |
|
|
|
" std::unique_ptr< $ns$$Service$::Stub> stub(new " |
|
|
|
" std::unique_ptr< $ns$$Service$::Stub> stub(new " |
|
|
|
"$ns$$Service$::Stub(channel));\n" |
|
|
|
"$ns$$Service$::Stub(channel));\n" |
|
|
|
" return stub;\n" |
|
|
|
" return stub;\n" |
|
|
|