aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Core
diff options
context:
space:
mode:
authorGravatar Konstantin Varlamov <var-const@users.noreply.github.com>2018-07-10 16:08:18 -0400
committerGravatar GitHub <noreply@github.com>2018-07-10 16:08:18 -0400
commit0f0a1dab2d385895fc15968cfee3df07b53c52b9 (patch)
treee61d62b40447a744b2a05319aa4e4ba74e35dbd4 /Firestore/Source/Core
parentff95ffc61b6c6cf4b8ec69183d35e08497fbfd1a (diff)
Eliminate unnecessary DocumentKey->FSTDocumentKey conversions (#1507)
Diffstat (limited to 'Firestore/Source/Core')
-rw-r--r--Firestore/Source/Core/FSTView.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Firestore/Source/Core/FSTView.mm b/Firestore/Source/Core/FSTView.mm
index f954731..40631ed 100644
--- a/Firestore/Source/Core/FSTView.mm
+++ b/Firestore/Source/Core/FSTView.mm
@@ -109,7 +109,7 @@ NS_ASSUME_NONNULL_BEGIN
return NO;
}
FSTLimboDocumentChange *otherChange = (FSTLimboDocumentChange *)other;
- return self.type == otherChange.type && [self.key isEqual:otherChange.key];
+ return self.type == otherChange.type && self.key == otherChange.key;
}
- (NSUInteger)hash {