ObjFW  Diff

Differences From Artifact [6bb162b64c]:

To Artifact [7cb2b989ab]:


33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	self = [super init];

	_requestedSize = requestedSize;

	return self;
}

- (OFString*)description
{
	if (_requestedSize != 0)
		return [OFString stringWithFormat:
		    @"Could not allocate %zu bytes!", _requestedSize];
	else
		return @"Could not allocate enough memory!";
}
@end







|








33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	self = [super init];

	_requestedSize = requestedSize;

	return self;
}

- (OFString *)description
{
	if (_requestedSize != 0)
		return [OFString stringWithFormat:
		    @"Could not allocate %zu bytes!", _requestedSize];
	else
		return @"Could not allocate enough memory!";
}
@end