diff options
Diffstat (limited to 'Firestore/Source/Model/FSTMutationBatch.h')
-rw-r--r-- | Firestore/Source/Model/FSTMutationBatch.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Firestore/Source/Model/FSTMutationBatch.h b/Firestore/Source/Model/FSTMutationBatch.h index 1de79fe..3c82338 100644 --- a/Firestore/Source/Model/FSTMutationBatch.h +++ b/Firestore/Source/Model/FSTMutationBatch.h @@ -20,6 +20,8 @@ #import "Firestore/Source/Model/FSTDocumentKeySet.h" #import "Firestore/Source/Model/FSTDocumentVersionDictionary.h" +#include "Firestore/core/src/firebase/firestore/model/document_key.h" + @class FSTMutation; @class FIRTimestamp; @class FSTMutationResult; @@ -60,7 +62,7 @@ extern const FSTBatchID kFSTBatchIDUnknown; * their hasLocalMutations flag set. */ - (FSTMaybeDocument *_Nullable)applyTo:(FSTMaybeDocument *_Nullable)maybeDoc - documentKey:(FSTDocumentKey *)documentKey + documentKey:(const firebase::firestore::model::DocumentKey &)documentKey mutationBatchResult:(FSTMutationBatchResult *_Nullable)mutationBatchResult; /** @@ -68,7 +70,7 @@ extern const FSTBatchID kFSTBatchIDUnknown; * the backend). */ - (FSTMaybeDocument *_Nullable)applyTo:(FSTMaybeDocument *_Nullable)maybeDoc - documentKey:(FSTDocumentKey *)documentKey; + documentKey:(const firebase::firestore::model::DocumentKey &)documentKey; /** * Returns YES if this mutation batch has already been removed from the mutation queue. |