File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Firestore/Example/Tests/Util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 17
17
#import " Firestore/Example/Tests/Util/FSTHelpers.h"
18
18
19
19
#include < inttypes.h>
20
- #include < vector >
20
+ #include < list >
21
21
22
22
#import < FirebaseFirestore/FIRFieldPath.h>
23
23
#import < FirebaseFirestore/FIRGeoPoint.h>
174
174
175
175
FSTDocumentKeyReference *FSTTestRef (NSString *projectID, NSString *database, NSString *path) {
176
176
// This owns the DatabaseIds since we do not have FirestoreClient instance to own them.
177
- static std::vector <DatabaseId> database_ids;
177
+ static std::list <DatabaseId> database_ids;
178
178
database_ids.emplace_back (util::MakeStringView (projectID), util::MakeStringView (database));
179
179
return [[FSTDocumentKeyReference alloc ] initWithKey: FSTTestDocKey (path)
180
180
databaseID: &database_ids.back ()];
You can’t perform that action at this time.
0 commit comments