Differences From Artifact [5e36a777ce]:
- File
src/OFTriple.h
— 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: 2578) [annotate] [blame] [check-ins using]
To Artifact [90e5e31d41]:
- File src/OFTriple.h — part of check-in [262b3c5801] at 2017-10-17 21:06:30 on branch trunk — OF{Pair,Triple}: Add designated initializer (user: js, size: 2608) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
72 73 74 75 76 77 78 | * @param firstObject The first object for the triple * @param secondObject The second object for the triple * @param thirdObject The second object for the triple * @return An initialized OFTriple */ - (instancetype)initWithFirstObject: (nullable FirstType)firstObject secondObject: (nullable SecondType)secondObject | | > | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | * @param firstObject The first object for the triple * @param secondObject The second object for the triple * @param thirdObject The second object for the triple * @return An initialized OFTriple */ - (instancetype)initWithFirstObject: (nullable FirstType)firstObject secondObject: (nullable SecondType)secondObject thirdObject: (nullable ThirdType)thirdObject OF_DESIGNATED_INITIALIZER; #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # undef FirstType # undef SecondType # undef ThirdType #endif @end OF_ASSUME_NONNULL_END #import "OFMutableTriple.h" |