ObjFW  Diff

Differences From Artifact [7c5e87e7c3]:

To Artifact [e8f4bfafc2]:


502
503
504
505
506
507
508
509

510
511
512
513

514
515
516
517
518
519
520
502
503
504
505
506
507
508

509
510
511
512

513
514
515
516
517
518
519
520







-
+



-
+







#ifdef OF_HAVE_THREADS
	[_condition release];
#endif

	[super dealloc];
}

- (of_comparison_result_t)compare: (id <OFObject, OFComparing>)object
- (of_comparison_result_t)compare: (id <OFComparing>)object
{
	OFTimer *timer;

	if (![object isKindOfClass: [OFTimer class]])
	if (![(id)object isKindOfClass: [OFTimer class]])
		@throw [OFInvalidArgumentException exception];

	timer = (OFTimer *)object;

	return [_fireDate compare: timer->_fireDate];
}