Commit 63778e53 authored by Paul Yang's avatar Paul Yang

Merge pull request #649 from cijianzy/master

Update GPBWellKnownTypes.m
parents 6994b07f c61ef6b1
...@@ -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