ObjFW  Diff

Differences From Artifact [20af4c93d0]:

To Artifact [926d013687]:


257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
+ (instancetype)streamWithStream: (OFStream*)stream
{
	return [[[self alloc] initWithStream: stream] autorelease];
}

- init
{
	@try {
		[self doesNotRecognizeSelector: _cmd];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	abort();
}

- initWithStream: (OFStream*)stream
{
	self = [super init];

	_stream = [stream retain];







<
<
<
<
<
<
|
<







257
258
259
260
261
262
263






264

265
266
267
268
269
270
271
+ (instancetype)streamWithStream: (OFStream*)stream
{
	return [[[self alloc] initWithStream: stream] autorelease];
}

- init
{






	OF_INVALID_INIT_METHOD

}

- initWithStream: (OFStream*)stream
{
	self = [super init];

	_stream = [stream retain];