Differences From Artifact [f3bb080962]:
- File src/OFCountedSet_hashtable.m — part of check-in [3b97fc3cd9] at 2014-01-04 00:24:08 on branch trunk — Update copyright. (user: js, size: 5002) [annotate] [blame] [check-ins using]
To Artifact [4285e1f843]:
- File
src/OFCountedSet_hashtable.m
— part of check-in
[68d32a92c1]
at
2014-06-16 15:06:26
on branch trunk
— Make return type of -[OFArray objects] const
After all, this might (and does for OFArray_adjacent!) return an
internal representation that must not be changed, so changes should be
prevented at compile-time. (user: js, size: 5008) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
77 78 79 80 81 82 83 | } - initWithArray: (OFArray*)array { self = [self init]; @try { | | | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | } - initWithArray: (OFArray*)array { self = [self init]; @try { id const *objects = [array objects]; size_t i, count = [array count]; for (i = 0; i < count; i++) [self addObject: objects[i]]; } @catch (id e) { [self release]; @throw e; |
︙ | ︙ |