mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-04 08:06:16 +00:00
Make isEqual: more like Cocoa's version.
This commit is contained in:
1 parent
80f95e4d58
commit
5c04acf840
1 file changed
+1
-1
@@ -423,7 +423,7 @@
|
||||
*/
|
||||
- (BOOL)isEqual:(id)anObject
|
||||
{
|
||||
return self === anObject;
|
||||
return self === anObject || [self hash] === [anObject hash];
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user