ObjFW  Diff

Differences From Artifact [e44a0576ae]:

To Artifact [bfc5d5e2ae]:


28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

- (bool)isEqual: (id)object
{
	OFArray *otherArray;
	id const *objects, *otherObjects;
	size_t i;

	if ([object class] != [OFArray_adjacent class] &&
	    [object class] != [OFMutableArray_adjacent class] &&
	    [object class] != [OFArray_adjacentSubarray class])
		return [super isEqual: object];

	otherArray = object;

	if (_range.length != [otherArray count])
		return false;








|
|
<







28
29
30
31
32
33
34
35
36

37
38
39
40
41
42
43

- (bool)isEqual: (id)object
{
	OFArray *otherArray;
	id const *objects, *otherObjects;
	size_t i;

	if (![object isKindOfClass: [OFArray_adjacent class]] &&
	    ![object isKindOfClass: [OFMutableArray_adjacent class]])

		return [super isEqual: object];

	otherArray = object;

	if (_range.length != [otherArray count])
		return false;