aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2015-03-21 18:40:51 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2015-03-21 18:40:51 +0100
commit341e2385d543ba96ae4d4eac649e9312537e1405 (patch)
tree0f4c3a1071c1c89e2c7ae63ab67f1e3fbd09f6db /src/wallet/walletdb.h
parentf3948a30cd27928fdf9dffbbf90ea6430c869edf (diff)
downloadbitcoin-341e2385d543ba96ae4d4eac649e9312537e1405.tar.xz
use constant references for strings in functions in wallet/*.*
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r--src/wallet/walletdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h
index 6aa0fa40df..a1c38b9d3d 100644
--- a/src/wallet/walletdb.h
+++ b/src/wallet/walletdb.h
@@ -127,8 +127,8 @@ public:
DBErrors LoadWallet(CWallet* pwallet);
DBErrors FindWalletTx(CWallet* pwallet, std::vector<uint256>& vTxHash, std::vector<CWalletTx>& vWtx);
DBErrors ZapWalletTx(CWallet* pwallet, std::vector<CWalletTx>& vWtx);
- static bool Recover(CDBEnv& dbenv, std::string filename, bool fOnlyKeys);
- static bool Recover(CDBEnv& dbenv, std::string filename);
+ static bool Recover(CDBEnv& dbenv, const std::string& filename, bool fOnlyKeys);
+ static bool Recover(CDBEnv& dbenv, const std::string& filename);
private:
CWalletDB(const CWalletDB&);