ObjFW  Diff

Differences From Artifact [c3c05a120f]:

To Artifact [c139f6bdf6]:


27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

@implementation OFCondition
+ (instancetype)condition
{
	return [[[self alloc] init] autorelease];
}

- init
{
	self = [super init];

	if (!of_condition_new(&_condition)) {
		Class c = [self class];
		[self release];
		@throw [OFInitializationFailedException exceptionWithClass: c];







|







27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

@implementation OFCondition
+ (instancetype)condition
{
	return [[[self alloc] init] autorelease];
}

- (instancetype)init
{
	self = [super init];

	if (!of_condition_new(&_condition)) {
		Class c = [self class];
		[self release];
		@throw [OFInitializationFailedException exceptionWithClass: c];