grpc: cpp_generator: fix pedantic warning on extra ';'

Fix pedantic warnings of form:

   myprotobuf.pb.cc:619:2: warning: extra ';' [-Wpedantic]
    };
     ^
pull/863/head
Todd Poynor 10 years ago
parent 47d03aae63
commit 2a6fd26c45
  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