URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15177>
Summary: -[GSMutableSet copyWithZone:] produces an immutable
set
Project: GNUstep
Submitted by: lcampbel
Submitted on: Fri 12/09/05 at 20:33
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
/* Override version from GSSet */
- (id) copyWithZone: (NSZone*)z
{
NSSet *copy = [setClass allocWithZone: z];
return [copy initWithSet: self copyItems: NO];
}
This is incorrect. It should be:
/* Override version from GSSet */
- (id) copyWithZone: (NSZone*)z
{
NSSet *copy = [mutableSetClass allocWithZone: z];
return [copy initWithSet: self copyItems: NO];
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15177>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep