Merge pull request #649 from cijianzy/master

Update GPBWellKnownTypes.m
pull/706/head
Paul Yang 9 years ago
commit 63778e537a
  1. 2
      objectivec/GPBWellKnownTypes.m

@ -153,7 +153,7 @@ NSString *const GPBTypeGoogleApisComPrefix = @"type.googleapis.com/";
} }
- (BOOL)wrapsMessageOfClass:(Class)messageClass { - (BOOL)wrapsMessageOfClass:(Class)messageClass {
NSAssert([messageClass isSubclassofClass:[GPBMessage class]], NSAssert([messageClass isSubclassOfClass:[GPBMessage class]],
@"Given class (%@) is not a subclass of GPBMessage", @"Given class (%@) is not a subclass of GPBMessage",
[messageClass name]); [messageClass name]);
if (![messageClass isSubclassOfClass:[GPBMessage class]]) { if (![messageClass isSubclassOfClass:[GPBMessage class]]) {

Loading…
Cancel
Save