33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
_secondObject = [secondObject retain];
[old release];
}
- (id)copy
{
OFMutablePair *copy = [self mutableCopy];
[copy makeImmutable];
return copy;
}
- (void)makeImmutable
{
object_setClass(self, [OFPair class]);
}
|
<
<
|
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
_secondObject = [secondObject retain];
[old release];
}
- (id)copy
{
OFMutablePair *copy = [self mutableCopy];
[copy makeImmutable];
return copy;
}
- (void)makeImmutable
{
object_setClass(self, [OFPair class]);
}
|