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

Stage 2 of clang compiler warning patches.
This commit is contained in:
extrafu committed 2015-11-04 13:48:27 -05:00
commit d805cdfef4
4 files changed
+9 -9

No files matched your search

+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;