ObjFW  Diff

Differences From Artifact [e57d8be90e]:

To Artifact [7c4dd9ded2]:


31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
}

- (id)nextObject
{
	if (last == NULL) {
		for (; pos < size && data[pos] == nil; pos++);
		if (pos == size)
			@throw [OFNotInSetException
			    newWithClass: [OFDictionary class]];

		return (last = [data[pos++] first])->object;
	}

	if ((last = last->next) != NULL)
		return last->object;








|
<







31
32
33
34
35
36
37
38

39
40
41
42
43
44
45
}

- (id)nextObject
{
	if (last == NULL) {
		for (; pos < size && data[pos] == nil; pos++);
		if (pos == size)
			return nil;


		return (last = [data[pos++] first])->object;
	}

	if ((last = last->next) != NULL)
		return last->object;