diff options
author | Todd Poynor <toddpoynor@google.com> | 2015-02-26 20:04:26 -0800 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2015-02-26 20:06:21 -0800 |
commit | 2a6fd26c45d634d0ade7bd2b9c575f47bfe06d31 (patch) | |
tree | b73753912feb4c6bba4a903074b5f45cd639b74b /src/compiler/cpp_generator.cc | |
parent | 47d03aae63b1fa801f9d16ce592ee64da78a98a0 (diff) |
grpc: cpp_generator: fix pedantic warning on extra ';'
Fix pedantic warnings of form:
myprotobuf.pb.cc:619:2: warning: extra ';' [-Wpedantic]
};
^
Diffstat (limited to 'src/compiler/cpp_generator.cc')
-rw-r--r-- | src/compiler/cpp_generator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/cpp_generator.cc b/src/compiler/cpp_generator.cc index 088fc6bc13..1139dfc89b 100644 --- a/src/compiler/cpp_generator.cc +++ b/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); |