diff options
author | Jesse Bounds <jesse@rebounds.net> | 2016-11-15 13:39:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-15 13:39:09 -0800 |
commit | 068a89c2f8f1fe8962113c75e782cd7e204ca37a (patch) | |
tree | b32b7526b57dc396c9d16ad74f52bfd7735d7355 /platform/darwin/src/MGLPointCollection.mm | |
parent | 5a982f9ccc15f166c7dfc81c98f30c2113f8896e (diff) | |
download | qtlocation-mapboxgl-068a89c2f8f1fe8962113c75e782cd7e204ca37a.tar.gz |
[ios, macos] Use NSNumber in exception strings (#7083)ios-v3.4.0-beta.3
Diffstat (limited to 'platform/darwin/src/MGLPointCollection.mm')
-rw-r--r-- | platform/darwin/src/MGLPointCollection.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLPointCollection.mm b/platform/darwin/src/MGLPointCollection.mm index adf3cc3d40..21982ca7bb 100644 --- a/platform/darwin/src/MGLPointCollection.mm +++ b/platform/darwin/src/MGLPointCollection.mm @@ -54,8 +54,8 @@ NS_ASSUME_NONNULL_BEGIN if (range.location + range.length > [self pointCount]) { [NSException raise:NSRangeException - format:@"Invalid coordinate range %@ extends beyond current coordinate count of %zu", - NSStringFromRange(range), [self pointCount]]; + format:@"Invalid coordinate range %@ extends beyond current coordinate count of %@", + NSStringFromRange(range), @([self pointCount])]; } std::copy(_coordinates.begin() + range.location, _coordinates.begin() + NSMaxRange(range), coords); |