mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
More experimental code changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38801 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
841ddf78e0
commit
8e93dc85d3
5 changed files with 62 additions and 9 deletions
|
@ -550,12 +550,12 @@ static Class mutableSetClass;
|
|||
if (count > 0)
|
||||
{
|
||||
NSAutoreleasePool *pool = [NSAutoreleasePool new];
|
||||
NSEnumerator *enumerator = [self keyEnumerator];
|
||||
NSObject *k;
|
||||
NSEnumerator *enumerator = [self objectEnumerator];
|
||||
NSObject *o;
|
||||
|
||||
while ((k = [enumerator nextObject]) != nil)
|
||||
while ((o = [enumerator nextObject]) != nil)
|
||||
{
|
||||
size += [k sizeInBytes: exclude];
|
||||
size += [o sizeInBytes: exclude];
|
||||
}
|
||||
[pool release];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue