mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-13 22:21:29 +00:00
Make isEqual: more like Cocoa's version.
This commit is contained in:
@@ -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