aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-04-25 18:16:21 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-04-25 18:16:21 -0700
commitbf0b8798d6de1023f7a9b7a5539fefa58f4d47bb (patch)
tree09103759557b0fbc20a4093f1ac4d80c792c865d /src/compiler
parentde07d322a2adedbacac1d3cbe150137704f16191 (diff)
Provide protocol for generics
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/objective_c_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/objective_c_generator.cc b/src/compiler/objective_c_generator.cc
index 39f68cb956..7d4d4d1f5a 100644
--- a/src/compiler/objective_c_generator.cc
+++ b/src/compiler/objective_c_generator.cc
@@ -248,7 +248,7 @@ void PrintMethodImplementations(Printer* printer,
" */\n");
printer.Print(vars,
"@interface $service_class$ :"
- " GRPCProtoService<$service_class$>\n");
+ " GRPCProtoService<$service_class$, GRPCProtoServiceInit>\n");
printer.Print(
"- (instancetype)initWithHost:(NSString *)host"
" NS_DESIGNATED_INITIALIZER;\n");