aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Local/FSTLevelDBMutationQueue.h
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2018-06-13 08:12:09 -0700
committerGravatar GitHub <noreply@github.com>2018-06-13 08:12:09 -0700
commitafd897619fba10b881c4567d76793c6fdc60e93a (patch)
tree916cfceabe732ca375b82c7fe4e2cecfb265d251 /Firestore/Source/Local/FSTLevelDBMutationQueue.h
parent51fb4d0ca4fae5ad30b53c9470f9e59c4678b034 (diff)
Minor LevelDB cleanups (#1401)
* Add leveldb_transaction* to the CMake build * Use std::unique_ptr for leveldb::DB pointers
Diffstat (limited to 'Firestore/Source/Local/FSTLevelDBMutationQueue.h')
-rw-r--r--Firestore/Source/Local/FSTLevelDBMutationQueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Firestore/Source/Local/FSTLevelDBMutationQueue.h b/Firestore/Source/Local/FSTLevelDBMutationQueue.h
index 034738f..911fa37 100644
--- a/Firestore/Source/Local/FSTLevelDBMutationQueue.h
+++ b/Firestore/Source/Local/FSTLevelDBMutationQueue.h
@@ -51,7 +51,7 @@ NS_ASSUME_NONNULL_BEGIN
* Returns one larger than the largest batch ID that has been stored. If there are no mutations
* returns 0. Note that batch IDs are global.
*/
-+ (FSTBatchID)loadNextBatchIDFromDB:(std::shared_ptr<leveldb::DB>)db;
++ (FSTBatchID)loadNextBatchIDFromDB:(leveldb::DB *)db;
@end