ObjFW  Diff

Differences From Artifact [52418b0509]:

To Artifact [d9af9e39c6]:


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@synthesize thread = _thread;

+ (instancetype)exceptionWithThread: (OFThread *)thread
{
	return [[[self alloc] initWithThread: thread] autorelease];
}

- init
{
	return [self initWithThread: nil];
}

- initWithThread: (OFThread *)thread
{
	self = [super init];

	_thread = [thread retain];

	return self;
}







|




|







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@synthesize thread = _thread;

+ (instancetype)exceptionWithThread: (OFThread *)thread
{
	return [[[self alloc] initWithThread: thread] autorelease];
}

- (instancetype)init
{
	return [self initWithThread: nil];
}

- (instancetype)initWithThread: (OFThread *)thread
{
	self = [super init];

	_thread = [thread retain];

	return self;
}