Merge pull request #7087 from makdharma/signature_mismatch_issue7051

Changed return type to GRPCCall * from ProtoRPC * to prevent compiler warnings. fixes #7051
pull/7025/head^2
Jan Tattermusch 9 years ago committed by GitHub
commit fe466b0e17
  1. 18
      src/objective-c/ProtoRPC/ProtoService.m

@ -65,18 +65,18 @@
return self;
}
- (ProtoRPC *)RPCToMethod:(NSString *)method
requestsWriter:(GRXWriter *)requestsWriter
responseClass:(Class)responseClass
responsesWriteable:(id<GRXWriteable>)responsesWriteable {
- (GRPCProtoCall *)RPCToMethod:(NSString *)method
requestsWriter:(GRXWriter *)requestsWriter
responseClass:(Class)responseClass
responsesWriteable:(id<GRXWriteable>)responsesWriteable {
GRPCProtoMethod *methodName = [[GRPCProtoMethod alloc] initWithPackage:_packageName
service:_serviceName
method:method];
return [[ProtoRPC alloc] initWithHost:_host
method:methodName
requestsWriter:requestsWriter
responseClass:responseClass
responsesWriteable:responsesWriteable];
return [[GRPCProtoCall alloc] initWithHost:_host
method:methodName
requestsWriter:requestsWriter
responseClass:responseClass
responsesWriteable:responsesWriteable];
}
@end

Loading…
Cancel
Save