Differences From Artifact [7cb2b989ab]:
- File
src/exceptions/OFOutOfMemoryException.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 1225) [annotate] [blame] [check-ins using]
To Artifact [3aa81f3781]:
- File src/exceptions/OFOutOfMemoryException.m — part of check-in [cc5923d6bb] at 2017-06-04 23:41:38 on branch trunk — Add designated initializer to all exceptions (user: js, size: 1278) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
23 24 25 26 27 28 29 30 31 32 33 34 35 36 | @synthesize requestedSize = _requestedSize; + (instancetype)exceptionWithRequestedSize: (size_t)requestedSize { return [[[self alloc] initWithRequestedSize: requestedSize] autorelease]; } - initWithRequestedSize: (size_t)requestedSize { self = [super init]; _requestedSize = requestedSize; | > > > > > | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | @synthesize requestedSize = _requestedSize; + (instancetype)exceptionWithRequestedSize: (size_t)requestedSize { return [[[self alloc] initWithRequestedSize: requestedSize] autorelease]; } - init { return [self initWithRequestedSize: 0]; } - initWithRequestedSize: (size_t)requestedSize { self = [super init]; _requestedSize = requestedSize; |
︙ | ︙ |