ObjFW  Diff

Differences From Artifact [8af8aee9f9]:

To Artifact [9723f4d0fb]:


44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
	if (![class conformsToProtocol: @protocol(OFSerialization)])
		@throw [OFNotImplementedException
		    newWithClass: class
			selector: @selector(initWithSerialization:)];

	object = [[class alloc] initWithSerialization: self];

	@try {
		[pool release];
	} @finally {
		[object autorelease];
	}

	return object;
}
@end







<
|
<
<
|
|
<


44
45
46
47
48
49
50

51


52
53

54
55
	if (![class conformsToProtocol: @protocol(OFSerialization)])
		@throw [OFNotImplementedException
		    newWithClass: class
			selector: @selector(initWithSerialization:)];

	object = [[class alloc] initWithSerialization: self];


	[pool release];



	return [object autorelease];

}
@end