Differences From Artifact [be0ab30e62]:
- File
src/OFMutableSet.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 3554) [annotate] [blame] [check-ins using]
To Artifact [c759b99c57]:
- File src/OFMutableSet.m — part of check-in [8823a4df67] at 2017-08-19 08:24:40 on branch trunk — Add -[OFMutableSet removeAllObjects] (user: js, size: 3758) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
189 190 191 192 193 194 195 196 197 198 199 200 | } - (void)unionSet: (OFSet *)set { for (id object in set) [self addObject: object]; } - (void)makeImmutable { } @end | > > > > > > > > > > > | 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | } - (void)unionSet: (OFSet *)set { for (id object in set) [self addObject: object]; } - (void)removeAllObjects { void *pool = objc_autoreleasePoolPush(); OFSet *copy = [[self copy] autorelease]; for (id object in copy) [self removeObject: object]; objc_autoreleasePoolPop(pool); } - (void)makeImmutable { } @end |