Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
remove unneeded use check
Browse files Browse the repository at this point in the history
  • Loading branch information
incanus committed Oct 4, 2016
1 parent 8d92589 commit a2377ed
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions platform/darwin/src/MGLMultiPoint.mm
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ - (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range

- (void)setCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range
{
if ([self isMemberOfClass:[MGLMultiPoint class]])
{
[NSException raise:@"Unsupported method" format:@"The coordinates of a member of MGLMultiPoint are read-only."];
}

if (range.length == 0)
{
[[NSException exceptionWithName:NSRangeException
Expand Down

0 comments on commit a2377ed

Please sign in to comment.