Commit c61ef6b1 authored by Yue Zhang's avatar Yue Zhang

Update GPBWellKnownTypes.m

fix an bug(forgive my english..)
parent f642c5cf
...@@ -153,7 +153,7 @@ NSString *const GPBTypeGoogleApisComPrefix = @"type.googleapis.com/"; ...@@ -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]]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment