Merge pull request #863 from toddpoynor/pedantic

grpc: cpp_generator: fix pedantic warning on extra ';'
pull/867/head
Craig Tiller 10 years ago
commit 6a80e5728b
  1. 2
      src/compiler/cpp_generator.cc

@ -609,7 +609,7 @@ void PrintSourceService(google::protobuf::io::Printer *printer,
" std::unique_ptr< $Service$::Stub> stub(new $Service$::Stub());\n"
" stub->set_channel(channel);\n"
" return stub;\n"
"};\n\n");
"}\n\n");
for (int i = 0; i < service->method_count(); ++i) {
(*vars)["Idx"] = as_string(i);
PrintSourceClientMethod(printer, service->method(i), vars);

Loading…
Cancel
Save