ObjFW  Diff

Differences From Artifact [8d739f9efc]:

To Artifact [a68714fb85]:


502
503
504
505
506
507
508
509

510
511
512
513

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

509
510



511
512


513
514
515
516
517
518
519







-
+

-
-
-
+

-
-







#ifdef OF_HAVE_THREADS
	[_condition release];
#endif

	[super dealloc];
}

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

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

	timer = (OFTimer *)object;

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

- (void)of_setInRunLoop: (OFRunLoop *)runLoop mode: (of_run_loop_mode_t)mode
{
	OFRunLoop *oldInRunLoop = _inRunLoop;