diff options
author | Muxi Yan <muxi@users.noreply.github.com> | 2018-05-03 10:05:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-03 10:05:48 -0700 |
commit | e6d6a1b97806828db2534c6427c8f5814dd0e048 (patch) | |
tree | c7d66fa054079a36553777c4c6bf18dee3c049f7 /src/compiler/objective_c_generator.cc | |
parent | ccb83f0ffff179ff33249cffb00d331b7899926b (diff) |
Revert "Revert "Provide protocol for initializer of generated messages""
Diffstat (limited to 'src/compiler/objective_c_generator.cc')
-rw-r--r-- | src/compiler/objective_c_generator.cc | 2 |
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"); |