Differences From Artifact [d48b052c76]:
- File src/OFMutableTriple.m — part of check-in [143a03a8f0] at 2017-09-09 18:45:27 on branch trunk — Add missing #include "config.h" (user: js, size: 1256) [annotate] [blame] [check-ins using]
To Artifact [4592e90254]:
- File
src/OFMutableTriple.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: 1260) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
38 39 40 41 42 43 44 | - (void)setThirdObject: (id)thirdObject { id old = _thirdObject; _thirdObject = [thirdObject retain]; [old release]; } | | | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | - (void)setThirdObject: (id)thirdObject { id old = _thirdObject; _thirdObject = [thirdObject retain]; [old release]; } - (id)copy { OFMutableTriple *copy = [self mutableCopy]; [copy makeImmutable]; return copy; } - (void)makeImmutable { object_setClass(self, [OFTriple class]); } @end |