Merge pull request #109 from ethoms/clang-warnings-stage2

Stage 2 of clang compiler warning patches.
This commit is contained in:
extrafu
2015-11-04 13:48:27 -05:00
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -267,7 +267,7 @@
- (BOOL)isEqual:(id)_other {
if(_other == nil)
return NO;
if([_other class] != self->isa)
if([_other class] != object_getClass(self))
return NO;
if([_other hash] != [self hash])
return NO;