ObjFW  Diff

Differences From Artifact [babbf9f98a]:

To Artifact [f2533d462f]:


286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302

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

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

	otherArray = object;

	count = [_array count];

	if (count != [otherArray count])







|
|
<







286
287
288
289
290
291
292
293
294

295
296
297
298
299
300
301

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

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

		return [super isEqual: object];

	otherArray = object;

	count = [_array count];

	if (count != [otherArray count])