diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-08-09 16:24:12 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-11-09 16:53:34 +0100 |
commit | 29ab96dbd2bc76152de6eff09755b1b66b29474d (patch) | |
tree | 7a8235235dd2f131f08783b8f227bae935bae7d1 /src/wallet/db.h | |
parent | f72cbf9ba970e997be84fb7b20795c6b9c62fb42 (diff) |
Use unique_ptr for dbenv (DbEnv)
Diffstat (limited to 'src/wallet/db.h')
-rw-r--r-- | src/wallet/db.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h index 14283ac8f8..e6d5a9f293 100644 --- a/src/wallet/db.h +++ b/src/wallet/db.h @@ -36,7 +36,7 @@ private: public: mutable CCriticalSection cs_db; - DbEnv *dbenv; + std::unique_ptr<DbEnv> dbenv; std::map<std::string, int> mapFileUseCount; std::map<std::string, Db*> mapDb; |