mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(NSArray +allocWithZone:): Fixed to use NSAllocateObject.
(NSMutableArray +allocWithZone:): Likewise. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@409 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3131b8564b
commit
9dfa0537ac
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@
|
|||
|
||||
+ allocWithZone: (NSZone*)z
|
||||
{
|
||||
return [NSGArray allocWithZone:z];
|
||||
return NSAllocateObject([NSGArray class], 0, z);
|
||||
}
|
||||
|
||||
+ array
|
||||
|
@ -277,7 +277,7 @@
|
|||
|
||||
+ allocWithZone: (NSZone*)z
|
||||
{
|
||||
return [NSGMutableArray allocWithZone:z];
|
||||
return NSAllocateObject([NSGMutableArray class], 0, z);
|
||||
}
|
||||
|
||||
+ arrayWithCapacity: (unsigned)numItems
|
||||
|
|
Loading…
Reference in a new issue