aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Model/FSTDocument.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/Source/Model/FSTDocument.mm')
-rw-r--r--Firestore/Source/Model/FSTDocument.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Firestore/Source/Model/FSTDocument.mm b/Firestore/Source/Model/FSTDocument.mm
index 376075e..f96552c 100644
--- a/Firestore/Source/Model/FSTDocument.mm
+++ b/Firestore/Source/Model/FSTDocument.mm
@@ -102,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN
}
FSTDocument *otherDoc = other;
- return [self.key isEqual:otherDoc.key] && self.version == otherDoc.version &&
+ return self.key == otherDoc.key && self.version == otherDoc.version &&
[self.data isEqual:otherDoc.data] && self.hasLocalMutations == otherDoc.hasLocalMutations;
}
@@ -142,7 +142,7 @@ NS_ASSUME_NONNULL_BEGIN
}
FSTDocument *otherDoc = other;
- return [self.key isEqual:otherDoc.key] && self.version == otherDoc.version;
+ return self.key == otherDoc.key && self.version == otherDoc.version;
}
- (NSUInteger)hash {