Differences From Artifact [7aeee7380b]:
- File
src/OFData.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: 12433) [annotate] [blame] [check-ins using]
To Artifact [744ee14c6a]:
- File src/OFData.m — part of check-in [615a9f2eba] at 2017-11-19 12:56:14 on branch trunk — Fix compilation with GCC (user: js, size: 12427) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
432 433 434 435 436 437 438 | return false; if (memcmp([data items], _items, _count * _itemSize) != 0) return false; return true; } | | | | 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 | return false; if (memcmp([data items], _items, _count * _itemSize) != 0) return false; return true; } - (of_comparison_result_t)compare: (id <OFComparing>)object { OFData *data; int comparison; size_t count, minCount; if (![(id)object isKindOfClass: [OFData class]]) @throw [OFInvalidArgumentException exception]; data = (OFData *)object; if ([data itemSize] != _itemSize) @throw [OFInvalidArgumentException exception]; |
︙ | ︙ |