Differences From Artifact [5a24ff85a6]:
- File
src/OFCountedSet.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: 5757) [annotate] [blame] [check-ins using]
To Artifact [9939f41ae7]:
- File src/OFCountedSet.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: 5756) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
113 114 115 116 117 118 119 | return (id)&placeholder; return [super alloc]; } - (instancetype)init { | | | 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | return (id)&placeholder; return [super alloc]; } - (instancetype)init { if ([self isMemberOfClass: [OFCountedSet class]]) { @try { [self doesNotRecognizeSelector: _cmd]; } @catch (id e) { [self release]; @throw e; } |
︙ | ︙ |