diff options
author | Gil <mcg@google.com> | 2017-11-07 09:42:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-07 09:42:39 -0800 |
commit | fc9b5447fc865866112f195603cfebcefc909ce8 (patch) | |
tree | 8b71d8b098810bbd86d575df66efd67841d7bfa8 /Firestore/Source/Local/FSTLevelDBMutationQueue.mm | |
parent | 8d6a574e458d9888cf800f0229ea2b7615646516 (diff) |
Clang-format Objective-C++ too (#419)
Diffstat (limited to 'Firestore/Source/Local/FSTLevelDBMutationQueue.mm')
-rw-r--r-- | Firestore/Source/Local/FSTLevelDBMutationQueue.mm | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/Firestore/Source/Local/FSTLevelDBMutationQueue.mm b/Firestore/Source/Local/FSTLevelDBMutationQueue.mm index d57a15d..689ea6e 100644 --- a/Firestore/Source/Local/FSTLevelDBMutationQueue.mm +++ b/Firestore/Source/Local/FSTLevelDBMutationQueue.mm @@ -21,18 +21,18 @@ #include <set> #include <string> -#import "Mutation.pbobjc.h" -#import "FSTUser.h" -#import "FSTQuery.h" +#import "FSTAssert.h" +#import "FSTDocumentKey.h" #import "FSTLevelDB.h" #import "FSTLevelDBKey.h" #import "FSTLocalSerializer.h" -#import "FSTWriteGroup.h" -#import "FSTDocumentKey.h" #import "FSTMutation.h" #import "FSTMutationBatch.h" #import "FSTPath.h" -#import "FSTAssert.h" +#import "FSTQuery.h" +#import "FSTUser.h" +#import "FSTWriteGroup.h" +#import "Mutation.pbobjc.h" #include "ordered_code.h" #include "string_util.h" @@ -410,10 +410,11 @@ static ReadOptions StandardReadOptions() { if (mutationIterator->Valid()) { foundKeyDescription = [FSTLevelDBKey descriptionForKey:mutationIterator->key()]; } - FSTFail(@"Dangling document-mutation reference found: " - @"%@ points to %@; seeking there found %@", - [FSTLevelDBKey descriptionForKey:indexKey], - [FSTLevelDBKey descriptionForKey:mutationKey], foundKeyDescription); + FSTFail( + @"Dangling document-mutation reference found: " + @"%@ points to %@; seeking there found %@", + [FSTLevelDBKey descriptionForKey:indexKey], [FSTLevelDBKey descriptionForKey:mutationKey], + foundKeyDescription); } [result addObject:[self decodedMutationBatch:mutationIterator->value()]]; @@ -485,9 +486,10 @@ static ReadOptions StandardReadOptions() { if (mutationIterator->Valid()) { foundKeyDescription = [FSTLevelDBKey descriptionForKey:mutationIterator->key()]; } - FSTFail(@"Dangling document-mutation reference found: " - @"Missing batch %@; seeking there found %@", - [FSTLevelDBKey descriptionForKey:mutationKey], foundKeyDescription); + FSTFail( + @"Dangling document-mutation reference found: " + @"Missing batch %@; seeking there found %@", + [FSTLevelDBKey descriptionForKey:mutationKey], foundKeyDescription); } [result addObject:[self decodedMutationBatch:mutationIterator->value()]]; |