diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-07-17 12:18:08 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-07-17 12:18:08 -0700 |
commit | 5604712b03d097721b31b60d71ac1f2cdf53c039 (patch) | |
tree | cee57a25fa18e921a5f9b5f0cf8838df53c72282 /src/objective-c/RxLibrary/GRXForwardingWriter.m | |
parent | 7b52c98e625ee5fbfb2fd205750124836bb9f46b (diff) |
id<GRXWriter> -> GRXWriter * in the runtime
Diffstat (limited to 'src/objective-c/RxLibrary/GRXForwardingWriter.m')
-rw-r--r-- | src/objective-c/RxLibrary/GRXForwardingWriter.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objective-c/RxLibrary/GRXForwardingWriter.m b/src/objective-c/RxLibrary/GRXForwardingWriter.m index 755f7d7b84..2342f51ab3 100644 --- a/src/objective-c/RxLibrary/GRXForwardingWriter.m +++ b/src/objective-c/RxLibrary/GRXForwardingWriter.m @@ -37,7 +37,7 @@ @end @implementation GRXForwardingWriter { - id<GRXWriter> _writer; + GRXWriter *_writer; id<GRXWriteable> _writeable; } @@ -46,7 +46,7 @@ } // Designated initializer -- (instancetype)initWithWriter:(id<GRXWriter>)writer { +- (instancetype)initWithWriter:(GRXWriter *)writer { if (!writer) { [NSException raise:NSInvalidArgumentException format:@"writer can't be nil."]; } @@ -68,7 +68,7 @@ // This is used to stop the input writer. It nillifies our reference to it // to release it. - (void)finishInput { - id<GRXWriter> writer = _writer; + GRXWriter *writer = _writer; _writer = nil; writer.state = GRXWriterStateFinished; } |