Skip to content

Commit

Permalink
Merge pull request #361 from daniel-c/master
Browse files Browse the repository at this point in the history
Fix compilation error due to ambiguous addObject
  • Loading branch information
steipete committed Sep 12, 2013
2 parents 3df4415 + bf129cf commit 86099ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PSTCollectionView/PSTCollectionView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,7 @@ - (void)updateWithItems:(NSArray *)items {

[_allVisibleViewsDict removeObjectForKey:key];

[viewsToRemove[@(key.type)] addObject:view];
[(NSMutableArray *)viewsToRemove[@(key.type)] addObject:view];

}
}
Expand All @@ -1662,7 +1662,7 @@ - (void)updateWithItems:(NSArray *)items {

[_allVisibleViewsDict removeObjectForKey:key];

[viewsToRemove[@(key.type)] addObject:view];
[(NSMutableArray *)viewsToRemove[@(key.type)] addObject:view];

}
}
Expand Down

0 comments on commit 86099ec

Please sign in to comment.