Merge pull request #649 from cijianzy/master

Update GPBWellKnownTypes.m
This commit is contained in:
Paul Yang 2015-08-11 13:02:50 -07:00
commit 63778e537a

View File

@ -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]]) {