mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Fixups for DO compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26747 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f4e165a49e
commit
d790d9747f
8 changed files with 197 additions and 17 deletions
|
@ -381,7 +381,19 @@ static Class NSMutableSet_concrete_class;
|
|||
{
|
||||
GS_BEGINIDBUF(objs, count);
|
||||
|
||||
[other getObjects: objs];
|
||||
if ([other isProxy])
|
||||
{
|
||||
unsigned i;
|
||||
|
||||
for (i = 0; i < count; i++)
|
||||
{
|
||||
objs[i] = [other objectAtIndex: i];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
[other getObjects: objs];
|
||||
}
|
||||
self = [self initWithObjects: objs count: count];
|
||||
GS_ENDIDBUF();
|
||||
return self;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue