From afd897619fba10b881c4567d76793c6fdc60e93a Mon Sep 17 00:00:00 2001 From: Gil Date: Wed, 13 Jun 2018 08:12:09 -0700 Subject: Minor LevelDB cleanups (#1401) * Add leveldb_transaction* to the CMake build * Use std::unique_ptr for leveldb::DB pointers --- Firestore/Source/Local/FSTLevelDBMutationQueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Firestore/Source/Local/FSTLevelDBMutationQueue.h') 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)db; ++ (FSTBatchID)loadNextBatchIDFromDB:(leveldb::DB *)db; @end -- cgit v1.2.3