aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.cpp
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-03-02 16:39:22 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-03-02 17:26:30 +0900
commitd366795d180bc52ba750f71f201a6e5e0c40f1b6 (patch)
tree9d42d4cff67e0c481eaf4cbdb2a5562d0898f018 /src/wallet/db.cpp
parent8cd0b86340870d8f359e4ae26880e03ea36818ab (diff)
downloadbitcoin-d366795d180bc52ba750f71f201a6e5e0c40f1b6.tar.xz
wallet/db: make Backup() const
This method is the to-disk equivalent of serialize methods which are also const.
Diffstat (limited to 'src/wallet/db.cpp')
-rw-r--r--src/wallet/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp
index 8b042162d8..043e29f9cf 100644
--- a/src/wallet/db.cpp
+++ b/src/wallet/db.cpp
@@ -850,7 +850,7 @@ bool BerkeleyDatabase::Rewrite(const char* pszSkip)
return BerkeleyBatch::Rewrite(*this, pszSkip);
}
-bool BerkeleyDatabase::Backup(const std::string& strDest)
+bool BerkeleyDatabase::Backup(const std::string& strDest) const
{
if (IsDummy()) {
return false;