aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Local/FSTLevelDB.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/FSTLevelDB.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/FSTLevelDB.h')
-rw-r--r--Firestore/Source/Local/FSTLevelDB.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Firestore/Source/Local/FSTLevelDB.h b/Firestore/Source/Local/FSTLevelDB.h
index 95b80a6..a56c133 100644
--- a/Firestore/Source/Local/FSTLevelDB.h
+++ b/Firestore/Source/Local/FSTLevelDB.h
@@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN
+ (NSString *)descriptionOfStatus:(leveldb::Status)status;
/** The native db pointer, allocated during start. */
-@property(nonatomic, assign, readonly) std::shared_ptr<leveldb::DB> ptr;
+@property(nonatomic, assign, readonly) leveldb::DB *ptr;
@property(nonatomic, readonly) firebase::firestore::local::LevelDbTransaction *currentTransaction;