diff options
author | zxu <zxu@google.com> | 2018-01-25 13:03:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-25 13:03:07 -0500 |
commit | 5fdda3fa837f3138973d754f05aec7f541f806ce (patch) | |
tree | 6d440b3a7ac634c05890dade1e261aeb8ba03b31 /Firestore/Source/Local/FSTLevelDBMutationQueue.mm | |
parent | 15a2926dcb986a84cf9969d7d20439d4ac2e46af (diff) |
normalize string_util (#708)
* refactoring string_util
* port string_util to iOS
Diffstat (limited to 'Firestore/Source/Local/FSTLevelDBMutationQueue.mm')
-rw-r--r-- | Firestore/Source/Local/FSTLevelDBMutationQueue.mm | 4 |
1 files changed, 2 insertions, 2 deletions
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). |