aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/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/core
parentff95ffc61b6c6cf4b8ec69183d35e08497fbfd1a (diff)
Eliminate unnecessary DocumentKey->FSTDocumentKey conversions (#1507)
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 {