mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
([NSGSet -isEqual:]): Make this just compare the id's, not call [super
isEqual:]. I did this to prevent an infinite loop while running checks/nsarchiver.m, but I have a feeling that the bug might be in map.c, not here. Look at this again! git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1254 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2579e7ddca
commit
af9619a45c
1 changed files with 6 additions and 1 deletions
|
@ -93,7 +93,12 @@
|
|||
/* To deal with behavior over-enthusiasm. Will be fixed later. */
|
||||
- (BOOL) isEqual: other
|
||||
{
|
||||
return [super isEqual:other];
|
||||
/* xxx What is the correct behavior here.
|
||||
If we end up calling [NSSet -isEqualToSet:] we end up in
|
||||
an infinite loop, since that method enumerates the set, and
|
||||
the set enumerator asks if things are equal...
|
||||
[Huh? What am I saying here?] */
|
||||
return (self == other);
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue