We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cd0b86 commit d366795Copy full SHA for d366795
src/wallet/db.cpp
@@ -850,7 +850,7 @@ bool BerkeleyDatabase::Rewrite(const char* pszSkip)
850
return BerkeleyBatch::Rewrite(*this, pszSkip);
851
}
852
853
-bool BerkeleyDatabase::Backup(const std::string& strDest)
+bool BerkeleyDatabase::Backup(const std::string& strDest) const
854
{
855
if (IsDummy()) {
856
return false;
src/wallet/db.h
@@ -157,7 +157,7 @@ class BerkeleyDatabase
157
158
/** Back up the entire database to a file.
159
*/
160
- bool Backup(const std::string& strDest);
+ bool Backup(const std::string& strDest) const;
161
162
/** Make sure all changes are flushed to disk.
163
0 commit comments