Re: A strange behavior of unionSet?
Re: A strange behavior of unionSet?
- Subject: Re: A strange behavior of unionSet?
- From: Thomas Lachand-Robert <email@hidden>
- Date: Sun, 25 Jan 2004 15:22:23 +0100
Le 25 janv. 04, ` 14:23, Pete Yandell a icrit :
The definition of unionSet from the docs:
- (void)unionSet:(NSSet *)otherSet
So you're assigning the result of a void method to s. You want it
without the assignment:
[s unionSet:set2];
Thanks a lot, I didn't notice. How come the compiler doesn't complain?
Assign a void expression to some pointer should not be acceptable, or
what?
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.