diff options
author | zxu <zxu@google.com> | 2018-03-24 11:06:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-24 11:06:32 -0400 |
commit | b3050e42d842a4aef122efd277481c46bfa88dff (patch) | |
tree | d18994e8d1c85d726ca3007f86ade676e70242b6 /Firestore/Source/Core/FSTTransaction.mm | |
parent | 38170347b9f71798602f652e20404b565d4bd049 (diff) |
port C++ `DocumentKey` to `Remote/*` (#965)
* port C++ DocumentKey to Remote's
* port C++ DocumentKey to Remote's
* address changes
* address changes
* address changes
Diffstat (limited to 'Firestore/Source/Core/FSTTransaction.mm')
-rw-r--r-- | Firestore/Source/Core/FSTTransaction.mm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Firestore/Source/Core/FSTTransaction.mm b/Firestore/Source/Core/FSTTransaction.mm index b980a4e..58f2dd7 100644 --- a/Firestore/Source/Core/FSTTransaction.mm +++ b/Firestore/Source/Core/FSTTransaction.mm @@ -16,6 +16,8 @@ #import "Firestore/Source/Core/FSTTransaction.h" +#include <vector> + #import <GRPCClient/GRPCCall.h> #import "FIRFirestoreErrors.h" @@ -32,6 +34,8 @@ #include "Firestore/core/src/firebase/firestore/model/document_key.h" +using firebase::firestore::model::DocumentKey; + NS_ASSUME_NONNULL_BEGIN #pragma mark - FSTTransaction @@ -99,7 +103,7 @@ NS_ASSUME_NONNULL_BEGIN } } -- (void)lookupDocumentsForKeys:(NSArray<FSTDocumentKey *> *)keys +- (void)lookupDocumentsForKeys:(const std::vector<DocumentKey> &)keys completion:(FSTVoidMaybeDocumentArrayErrorBlock)completion { [self ensureCommitNotCalled]; if (self.mutations.count) { |