diff options
author | Gil <mcg@google.com> | 2018-06-13 08:12:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-13 08:12:09 -0700 |
commit | afd897619fba10b881c4567d76793c6fdc60e93a (patch) | |
tree | 916cfceabe732ca375b82c7fe4e2cecfb265d251 /Firestore/Source/Local/FSTLevelDBQueryCache.h | |
parent | 51fb4d0ca4fae5ad30b53c9470f9e59c4678b034 (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/FSTLevelDBQueryCache.h')
-rw-r--r-- | Firestore/Source/Local/FSTLevelDBQueryCache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Firestore/Source/Local/FSTLevelDBQueryCache.h b/Firestore/Source/Local/FSTLevelDBQueryCache.h index 2cd6758..f756d9e 100644 --- a/Firestore/Source/Local/FSTLevelDBQueryCache.h +++ b/Firestore/Source/Local/FSTLevelDBQueryCache.h @@ -36,7 +36,7 @@ NS_ASSUME_NONNULL_BEGIN * Retrieves the global singleton metadata row from the given database, if it exists. * TODO(gsoltis): remove this method once fully ported to transactions. */ -+ (nullable FSTPBTargetGlobal *)readTargetMetadataFromDB:(std::shared_ptr<leveldb::DB>)db; ++ (nullable FSTPBTargetGlobal *)readTargetMetadataFromDB:(leveldb::DB *)db; /** * Retrieves the global singleton metadata row using the given transaction, if it exists. |