Various tidyups and optimisations

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4951 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-09-28 08:48:27 +00:00
parent b991ad544e
commit 775722b78e
8 changed files with 258 additions and 168 deletions

View file

@ -100,7 +100,7 @@ static SEL rlSel = @selector(removeLastObject);
+ (id) allocWithZone: (NSZone*)z
{
if ([self class] == NSArray_abstract_class)
if (self == NSArray_abstract_class)
return NSAllocateObject(NSArray_concrete_class, 0, z);
return [super allocWithZone: z];
}