diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-10-07 21:19:34 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-10-07 21:19:34 -0700 |
commit | b58de50f28c7ad2608343b9ab6c550ede9d6e42c (patch) | |
tree | b42b29ac02dde43806723f50ab4251126b4906a8 | |
parent | 071252799926f9a87fd450d0396b5a1ed1db3c9b (diff) | |
parent | fbc1139aa061719d08885535e4725d0a5ee1f8ff (diff) |
Merge pull request #3601 from Scott84/Scott84-ObjC-Compiler-Warning-Fix
Prevent warnings for pure virtual methods of GRXWriter.m
-rw-r--r-- | src/objective-c/RxLibrary/GRXWriter.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/objective-c/RxLibrary/GRXWriter.m b/src/objective-c/RxLibrary/GRXWriter.m index 019fcbd785..fee33f5556 100644 --- a/src/objective-c/RxLibrary/GRXWriter.m +++ b/src/objective-c/RxLibrary/GRXWriter.m @@ -35,4 +35,14 @@ @implementation GRXWriter +- (void)startWithWriteable:(id<GRXWriteable>)writeable { + NSAssert(NO, @"Missing base implementation for %@", NSStringFromSelector(_cmd)); + [self doesNotRecognizeSelector:_cmd]; +} + +- (void)finishWithError:(NSError *)errorOrNil { + NSAssert(NO, @"Missing base implementation for %@", NSStringFromSelector(_cmd)); + [self doesNotRecognizeSelector:_cmd]; +} + @end |