ObjFW  Diff

Differences From Artifact [93a257326c]:

To Artifact [880c8c3997]:


298
299
300
301
302
303
304
305


306
307
308
309
310
311
312
313
		[self removeObjectAtIndex: range.location];
}

- (void)removeLastObject
{
	size_t count = [self count];

	if (count > 0)


		[self removeObjectAtIndex: count - 1];
}

- (void)removeAllObjects
{
	[self removeObjectsInRange: of_range(0, [self count])];
}








|
>
>
|







298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
		[self removeObjectAtIndex: range.location];
}

- (void)removeLastObject
{
	size_t count = [self count];

	if (count == 0)
		return;

	[self removeObjectAtIndex: count - 1];
}

- (void)removeAllObjects
{
	[self removeObjectsInRange: of_range(0, [self count])];
}