diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-01-26 18:52:44 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-01-27 11:44:16 +0100 |
commit | 62ea1f21858c69f6921c775ba7a3de201f0514d8 (patch) | |
tree | 7a4da88706e8a5513e1e13e993b2acc212cae3b1 /platform/ios/src/MGLUserLocation.m | |
parent | a662508ddde4043ece36d8ea9b424368891d892c (diff) | |
download | qtlocation-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.m | 2 |
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]) |