Merge pull request #649 from cijianzy/master
Update GPBWellKnownTypes.m
This commit is contained in:
commit
63778e537a
@ -153,7 +153,7 @@ NSString *const GPBTypeGoogleApisComPrefix = @"type.googleapis.com/";
|
||||
}
|
||||
|
||||
- (BOOL)wrapsMessageOfClass:(Class)messageClass {
|
||||
NSAssert([messageClass isSubclassofClass:[GPBMessage class]],
|
||||
NSAssert([messageClass isSubclassOfClass:[GPBMessage class]],
|
||||
@"Given class (%@) is not a subclass of GPBMessage",
|
||||
[messageClass name]);
|
||||
if (![messageClass isSubclassOfClass:[GPBMessage class]]) {
|
||||
|
Loading…
Reference in New Issue
Block a user