summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLUserLocation.m
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-01-26 18:52:44 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-01-27 11:44:16 +0100
commit62ea1f21858c69f6921c775ba7a3de201f0514d8 (patch)
tree7a4da88706e8a5513e1e13e993b2acc212cae3b1 /platform/ios/src/MGLUserLocation.m
parenta662508ddde4043ece36d8ea9b424368891d892c (diff)
downloadqtlocation-mapboxgl-62ea1f21858c69f6921c775ba7a3de201f0514d8.tar.gz
[core] remove trailing whitespace, add trailing newlines, add space after //
Diffstat (limited to 'platform/ios/src/MGLUserLocation.m')
-rw-r--r--platform/ios/src/MGLUserLocation.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLUserLocation.m b/platform/ios/src/MGLUserLocation.m
index 97e3f740fc..1c9649c09e 100644
--- a/platform/ios/src/MGLUserLocation.m
+++ b/platform/ios/src/MGLUserLocation.m
@@ -48,7 +48,7 @@ NS_ASSUME_NONNULL_END
- (BOOL)isEqual:(id)other {
if (self == other) return YES;
if (![other isKindOfClass:[MGLUserLocation class]]) return NO;
-
+
MGLUserLocation *otherUserLocation = other;
return ((!self.location && !otherUserLocation.location) || [self.location distanceFromLocation:otherUserLocation.location] == 0)
&& ((!self.title && !otherUserLocation.title) || [self.title isEqualToString:otherUserLocation.title])