mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +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
fd0ec14912
commit
34987d18d2
1 changed files with 6 additions and 1 deletions
|
@ -93,7 +93,12 @@
|
||||||
/* To deal with behavior over-enthusiasm. Will be fixed later. */
|
/* To deal with behavior over-enthusiasm. Will be fixed later. */
|
||||||
- (BOOL) isEqual: other
|
- (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
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue