ObjFW  Diff

Differences From Artifact [0467bbb9de]:

To Artifact [9f66c7a554]:


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
	}

	old = data[i]->object;
	data[i]->object = [object retain];
	[old release];
}

- (void)removeObjectForKey: (id)key
{
	uint32_t i, hash, last;

	if (key == nil)
		@throw [OFInvalidArgumentException newWithClass: isa
						       selector: _cmd];








|







172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
	}

	old = data[i]->object;
	data[i]->object = [object retain];
	[old release];
}

- (void)removeObjectForKey: (id <OFCopying>)key
{
	uint32_t i, hash, last;

	if (key == nil)
		@throw [OFInvalidArgumentException newWithClass: isa
						       selector: _cmd];