From fbc1139aa061719d08885535e4725d0a5ee1f8ff Mon Sep 17 00:00:00 2001 From: Scott84 <seh@google.com> Date: Fri, 2 Oct 2015 09:01:28 -0700 Subject: [PATCH] Update GRXWriter.m Corrected compiler warning for effectively pure virtual ObjC methods. --- src/objective-c/RxLibrary/GRXWriter.m | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- GitLab