aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-04-20 17:52:47 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-04-20 17:55:01 +0200
commit69d2e9ba678ea90db0bc3f3436d6417f0e1fc2e9 (patch)
treea3e3a2957dc1629a94c6693f7472a20ab804987c /src/wallet
parent33232810dca802a1328e349865d7da86c8c809e1 (diff)
wallet: Make IsDummy private in CWalletDBWrapper
This is only for use in the low-level functions, and CDB is already a friend class.
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/db.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h
index 014c6db6c5..a0719820ac 100644
--- a/src/wallet/db.h
+++ b/src/wallet/db.h
@@ -120,16 +120,16 @@ public:
*/
void Flush(bool shutdown);
+private:
+ /** BerkeleyDB specific */
+ CDBEnv *env;
+ std::string strFile;
+
/** Return whether this database handle is a dummy for testing.
* Only to be used at a low level, application should ideally not care
* about this.
*/
bool IsDummy() { return env == nullptr; }
-
-private:
- /** BerkeleyDB specific */
- CDBEnv *env;
- std::string strFile;
};