ObjFW  Diff

Differences From Artifact [16ad1c4d5e]:

To Artifact [2d16b912f5]:


212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
	if (count == nil)
		count = [OFNumber numberWithSize: 1];

	[dictionary OF_setObject: count
			  forKey: object
			 copyKey: NO];

	mutations++;

	objc_autoreleasePoolPop(pool);
}

- (void)removeObject: (id)object
{
	OFNumber *count = [dictionary objectForKey: object];
	void *pool;







<
<







212
213
214
215
216
217
218


219
220
221
222
223
224
225
	if (count == nil)
		count = [OFNumber numberWithSize: 1];

	[dictionary OF_setObject: count
			  forKey: object
			 copyKey: NO];



	objc_autoreleasePoolPop(pool);
}

- (void)removeObject: (id)object
{
	OFNumber *count = [dictionary objectForKey: object];
	void *pool;
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
	if ([count sizeValue] > 0)
		[dictionary OF_setObject: count
				  forKey: object
				 copyKey: NO];
	else
		[dictionary removeObjectForKey: object];

	mutations++;

	objc_autoreleasePoolPop(pool);
}

- (void)makeImmutable
{
}
@end







<
<







233
234
235
236
237
238
239


240
241
242
243
244
245
246
	if ([count sizeValue] > 0)
		[dictionary OF_setObject: count
				  forKey: object
				 copyKey: NO];
	else
		[dictionary removeObjectForKey: object];



	objc_autoreleasePoolPop(pool);
}

- (void)makeImmutable
{
}
@end