ObjFW  Diff

Differences From Artifact [4ca2c970a8]:

To Artifact [12c9fcd056]:


33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
	_secondObject = [secondObject retain];
	[old release];
}

- (id)copy
{
	OFMutablePair *copy = [self mutableCopy];

	[copy makeImmutable];

	return copy;
}

- (void)makeImmutable
{
	object_setClass(self, [OFPair class]);
}
@end







<

<








33
34
35
36
37
38
39

40

41
42
43
44
45
46
47
48
	_secondObject = [secondObject retain];
	[old release];
}

- (id)copy
{
	OFMutablePair *copy = [self mutableCopy];

	[copy makeImmutable];

	return copy;
}

- (void)makeImmutable
{
	object_setClass(self, [OFPair class]);
}
@end