aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/core
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/core')
-rw-r--r--Firestore/core/src/firebase/firestore/model/document_key.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Firestore/core/src/firebase/firestore/model/document_key.h b/Firestore/core/src/firebase/firestore/model/document_key.h
index 3f5f342..19671f9 100644
--- a/Firestore/core/src/firebase/firestore/model/document_key.h
+++ b/Firestore/core/src/firebase/firestore/model/document_key.h
@@ -56,7 +56,7 @@ class DocumentKey {
}
operator FSTDocumentKey*() const {
- return [FSTDocumentKey keyWithPath:path()];
+ return [FSTDocumentKey keyWithDocumentKey:*this];
}
NSUInteger Hash() const {