mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
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:
parent
b991ad544e
commit
775722b78e
8 changed files with 258 additions and 168 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue