Skip to content

Commit

Permalink
[FIX] Cast mutableSetValueForKey: to an NSMutableOrderedSet (hope tha…
Browse files Browse the repository at this point in the history
…t's right).
  • Loading branch information
rentzsch committed Jul 1, 2011
1 parent 9f93429 commit 932c4b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/machine.m.motemplate
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<$if Relationship.isToMany$>
- (<$Relationship.mutableCollectionClassName$>*)<$Relationship.name$>Set {
[self willAccessValueForKey:@"<$Relationship.name$>"];
<$Relationship.mutableCollectionClassName$> *result = [self mutableSetValueForKey:@"<$Relationship.name$>"];
<$Relationship.mutableCollectionClassName$> *result = (<$Relationship.mutableCollectionClassName$>*)[self mutableSetValueForKey:@"<$Relationship.name$>"];
[self didAccessValueForKey:@"<$Relationship.name$>"];
return result;
}
Expand Down

0 comments on commit 932c4b3

Please sign in to comment.