diff options
author | Juanli Shen <aspirinsjl@gmail.com> | 2018-05-07 20:25:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-07 20:25:44 -0700 |
commit | 10a8c16f243da24889df9cfd79ea8da888b49c74 (patch) | |
tree | f6c0c358cfbf505550b1421c9442a756051e9763 /src/compiler | |
parent | 19145e71dca46cfce1b9ff89bc0ade686886b3b0 (diff) |
Revert "Revert "Revert "Provide protocol for initializer of generated messages"""
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/objective_c_generator.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/objective_c_generator.cc b/src/compiler/objective_c_generator.cc index e97494f64c..39f68cb956 100644 --- a/src/compiler/objective_c_generator.cc +++ b/src/compiler/objective_c_generator.cc @@ -222,8 +222,7 @@ void PrintMethodImplementations(Printer* printer, map< ::grpc::string, ::grpc::string> vars = { {"service_class", ServiceClassName(service)}}; - printer.Print( - vars, "@protocol $service_class$ <NSObject, GRPCProtoServiceInit>\n\n"); + printer.Print(vars, "@protocol $service_class$ <NSObject>\n\n"); for (int i = 0; i < service->method_count(); i++) { PrintMethodDeclarations(&printer, service->method(i)); } |