mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Use NSDefaultMallocZone() instead of 0.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2003 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f4dff61e12
commit
101fbead74
3 changed files with 5 additions and 4 deletions
|
@ -908,7 +908,7 @@ o_map_alloc_with_zone(NSZone * zone)
|
|||
o_map_t *
|
||||
o_map_alloc(void)
|
||||
{
|
||||
return o_map_alloc_with_zone(0);
|
||||
return o_map_alloc_with_zone(NSDefaultMallocZone());
|
||||
}
|
||||
|
||||
o_map_t *
|
||||
|
@ -1281,7 +1281,7 @@ o_map_copy_with_zone(o_map_t *old_map, NSZone * zone)
|
|||
o_map_t *
|
||||
o_map_copy(o_map_t *old_map)
|
||||
{
|
||||
return o_map_copy_with_zone(old_map, 0);
|
||||
return o_map_copy_with_zone(old_map, NSDefaultMallocZone());
|
||||
}
|
||||
|
||||
/** Describing... **/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue