diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-03-24 05:31:55 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-03-24 05:33:31 -0700 |
commit | 45d6d0bce54dd387a1328c8433340dece2bf59c8 (patch) | |
tree | 08b22ddc4058133b77ca7a733191889d62190d6d /src/wallet/walletdb.h | |
parent | 46ba7a74a534dbe3b79007436626bc0e78915afa (diff) | |
parent | 341e2385d543ba96ae4d4eac649e9312537e1405 (diff) |
Merge pull request #5933
341e238 use constant references for strings in functions in wallet/*.* (Philip Kaufmann)
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r-- | src/wallet/walletdb.h | 4 |
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&); |