Make isEqual: more like Cocoa's version.

This commit is contained in:
Ross Boucher
2008-10-27 19:27:37 -07:00
parent 80f95e4d58
commit 5c04acf840
+1 -1
View File
@@ -423,7 +423,7 @@
*/
- (BOOL)isEqual:(id)anObject
{
return self === anObject;
return self === anObject || [self hash] === [anObject hash];
}
/*!