Differences From Artifact [da50e80816]:
- File
src/OFDate.m
— part of check-in
[11f24addd7]
at
2017-11-19 12:05:42
on branch trunk
— Fix warnings introduced by OFComparing change
Since OFComparing no longer conforms to OFObject, OFObject needed to be
added at a few places. (user: js, size: 14134) [annotate] [blame] [check-ins using]
To Artifact [e550224756]:
- File src/OFDate.m — part of check-in [615a9f2eba] at 2017-11-19 12:56:14 on branch trunk — Fix compilation with GCC (user: js, size: 14128) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
393 394 395 396 397 398 399 | } - (id)copy { return [self retain]; } | | | | 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 | } - (id)copy { return [self retain]; } - (of_comparison_result_t)compare: (id <OFComparing>)object { OFDate *otherDate; if (![(id)object isKindOfClass: [OFDate class]]) @throw [OFInvalidArgumentException exception]; otherDate = (OFDate *)object; if (_seconds < otherDate->_seconds) return OF_ORDERED_ASCENDING; if (_seconds > otherDate->_seconds) |
︙ | ︙ |