Differences From Artifact [313554e809]:
- File
src/OFStream.m
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 35420) [annotate] [blame] [check-ins using]
To Artifact [3125ef69c3]:
- File src/OFStream.m — part of check-in [0a4565fb0f] at 2017-11-05 18:25:38 on branch trunk — Use -[isMemberOfClass:] instead of object_getClass (user: js, size: 35419) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
65 66 67 68 69 70 71 | if (self == [OFStream class]) signal(SIGPIPE, SIG_IGN); } #endif - (instancetype)init { | | | 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | if (self == [OFStream class]) signal(SIGPIPE, SIG_IGN); } #endif - (instancetype)init { if ([self isMemberOfClass: [OFStream class]]) { @try { [self doesNotRecognizeSelector: _cmd]; abort(); } @catch (id e) { [self release]; @throw e; } |
︙ | ︙ |