diff options
author | 2015-07-16 18:41:21 -0700 | |
---|---|---|
committer | 2015-07-17 11:49:58 -0700 | |
commit | 7b52c98e625ee5fbfb2fd205750124836bb9f46b (patch) | |
tree | 7a0120d4b538db6180d23a52a4afb187d67740a5 /src/objective-c/ProtoRPC/ProtoRPC.m | |
parent | e85483b39248b42512571ab7eb92c5fdff6304c3 (diff) |
Separate GRXForwardingWriter, delete the protocol
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.m')
-rw-r--r-- | src/objective-c/ProtoRPC/ProtoRPC.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.m b/src/objective-c/ProtoRPC/ProtoRPC.m index fe3ccf0541..49f0e12442 100644 --- a/src/objective-c/ProtoRPC/ProtoRPC.m +++ b/src/objective-c/ProtoRPC/ProtoRPC.m @@ -35,7 +35,7 @@ #import <GPBProtocolBuffers.h> #import <RxLibrary/GRXWriteable.h> -#import <RxLibrary/GRXWriter.h> +#import <RxLibrary/GRXForwardingWriter.h> #import <RxLibrary/GRXWriter+Transformations.h> @implementation ProtoRPC { @@ -66,7 +66,7 @@ } // A writer that serializes the proto messages to send. id<GRXWriter> bytesWriter = - [[[GRXWriter alloc] initWithWriter:requestsWriter] map:^id(GPBMessage *proto) { + [[[GRXForwardingWriter alloc] initWithWriter:requestsWriter] map:^id(GPBMessage *proto) { // TODO(jcanizales): Fail with an understandable error message if the requestsWriter isn't // sending GPBMessages. return [proto data]; |