Minor tidyups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15744 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2003-01-28 16:42:05 +00:00
parent 17ac680236
commit 82c6e295aa
2 changed files with 4 additions and 2 deletions

View file

@ -4,6 +4,8 @@
byte sequences.
* Tools/AGSOutput.m: Fix loss of trailing info after a closing
square bracket round a class name.
* Source/Additions/GCArray.m: make mutable copy shallow for
consistency with other arrays.
2003-01-26 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -184,7 +184,7 @@ static Class gcClass = 0;
- (id) mutableCopyWithZone: (NSZone*)zone
{
return [[GCMutableArray allocWithZone: zone]
initWithArray: self copyItems: YES];
initWithArray: self copyItems: NO];
}
- (id) objectAtIndex: (unsigned int)index
@ -340,7 +340,7 @@ static Class gcClass = 0;
- (id) mutableCopyWithZone: (NSZone*)zone
{
return [[GCMutableArray allocWithZone: zone]
initWithArray: self copyItems: YES];
initWithArray: self copyItems: NO];
}
- (void) removeAllObjects