aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/Source')
-rw-r--r--Firestore/Source/Local/FSTLevelDBKey.mm2
-rw-r--r--Firestore/Source/Local/FSTLevelDBMutationQueue.mm4
-rw-r--r--Firestore/Source/Local/FSTLevelDBQueryCache.mm1
-rw-r--r--Firestore/Source/Local/FSTLevelDBRemoteDocumentCache.mm1
4 files changed, 2 insertions, 6 deletions
diff --git a/Firestore/Source/Local/FSTLevelDBKey.mm b/Firestore/Source/Local/FSTLevelDBKey.mm
index c6f51b9..074d5c5 100644
--- a/Firestore/Source/Local/FSTLevelDBKey.mm
+++ b/Firestore/Source/Local/FSTLevelDBKey.mm
@@ -19,14 +19,12 @@
#include <string>
#include "Firestore/Port/ordered_code.h"
-#include "Firestore/Port/string_util.h"
#import "Firestore/Source/Model/FSTDocumentKey.h"
#import "Firestore/Source/Model/FSTPath.h"
NS_ASSUME_NONNULL_BEGIN
using Firestore::OrderedCode;
-using Firestore::PrefixSuccessor;
using Firestore::StringView;
using leveldb::Slice;
diff --git a/Firestore/Source/Local/FSTLevelDBMutationQueue.mm b/Firestore/Source/Local/FSTLevelDBMutationQueue.mm
index 56a22a1..74463ee 100644
--- a/Firestore/Source/Local/FSTLevelDBMutationQueue.mm
+++ b/Firestore/Source/Local/FSTLevelDBMutationQueue.mm
@@ -35,7 +35,7 @@
#import "Firestore/Source/Util/FSTAssert.h"
#include "Firestore/Port/ordered_code.h"
-#include "Firestore/Port/string_util.h"
+#include "Firestore/core/src/firebase/firestore/util/string_util.h"
NS_ASSUME_NONNULL_BEGIN
@@ -164,7 +164,7 @@ static ReadOptions StandardReadOptions() {
while (moreUserIDs) {
// Compute the first key after the last mutation for nextUserID.
auto userEnd = [FSTLevelDBMutationKey keyPrefixWithUserID:nextUserID];
- userEnd = Firestore::PrefixSuccessor(userEnd);
+ userEnd = firebase::firestore::util::PrefixSuccessor(userEnd);
// Seek to that key with the intent of finding the boundary between nextUserID's mutations
// and the one after that (if any).
diff --git a/Firestore/Source/Local/FSTLevelDBQueryCache.mm b/Firestore/Source/Local/FSTLevelDBQueryCache.mm
index 8388b96..5feb9f1 100644
--- a/Firestore/Source/Local/FSTLevelDBQueryCache.mm
+++ b/Firestore/Source/Local/FSTLevelDBQueryCache.mm
@@ -30,7 +30,6 @@
#import "Firestore/Source/Util/FSTAssert.h"
#include "Firestore/Port/ordered_code.h"
-#include "Firestore/Port/string_util.h"
NS_ASSUME_NONNULL_BEGIN
diff --git a/Firestore/Source/Local/FSTLevelDBRemoteDocumentCache.mm b/Firestore/Source/Local/FSTLevelDBRemoteDocumentCache.mm
index 02f9f3e..039712c 100644
--- a/Firestore/Source/Local/FSTLevelDBRemoteDocumentCache.mm
+++ b/Firestore/Source/Local/FSTLevelDBRemoteDocumentCache.mm
@@ -33,7 +33,6 @@
#import "Firestore/Source/Util/FSTAssert.h"
#include "Firestore/Port/ordered_code.h"
-#include "Firestore/Port/string_util.h"
NS_ASSUME_NONNULL_BEGIN