diff options
author | David Garcia Quintas <dgq@google.com> | 2015-07-17 16:02:15 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-07-17 16:02:15 -0700 |
commit | 6016e260ca5d36408a3ae23db3c44481ee4c8427 (patch) | |
tree | 7dc0825c12b7c5eec567a833327b23706ce0363f /src/objective-c/RxLibrary/transformations/GRXMappingWriter.m | |
parent | 211e65be3cb1f4b6f7184c1945d8284905f79968 (diff) | |
parent | e9881bbaf3d53aa80099c42c80fb3331ff38270a (diff) |
Merge branch 'master' of github.com:grpc/grpc into str_join_with_sep
Diffstat (limited to 'src/objective-c/RxLibrary/transformations/GRXMappingWriter.m')
-rw-r--r-- | src/objective-c/RxLibrary/transformations/GRXMappingWriter.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objective-c/RxLibrary/transformations/GRXMappingWriter.m b/src/objective-c/RxLibrary/transformations/GRXMappingWriter.m index 2cdfea1b67..f3242e4fa9 100644 --- a/src/objective-c/RxLibrary/transformations/GRXMappingWriter.m +++ b/src/objective-c/RxLibrary/transformations/GRXMappingWriter.m @@ -37,19 +37,19 @@ static id (^kIdentity)(id value) = ^id(id value) { return value; }; -@interface GRXWriter () <GRXWriteable> +@interface GRXForwardingWriter () <GRXWriteable> @end @implementation GRXMappingWriter { id (^_map)(id value); } -- (instancetype)initWithWriter:(id<GRXWriter>)writer { +- (instancetype)initWithWriter:(GRXWriter *)writer { return [self initWithWriter:writer map:nil]; } // Designated initializer -- (instancetype)initWithWriter:(id<GRXWriter>)writer map:(id (^)(id value))map { +- (instancetype)initWithWriter:(GRXWriter *)writer map:(id (^)(id value))map { if ((self = [super initWithWriter:writer])) { _map = map ?: kIdentity; } |