use constant references for strings in functions in wallet/*.*

This commit is contained in:
Philip Kaufmann
2015-03-21 18:40:51 +01:00
parent f3948a30cd
commit 341e2385d5
6 changed files with 10 additions and 10 deletions

View File

@@ -345,7 +345,7 @@ void CWallet::Flush(bool shutdown)
bitdb.Flush(shutdown);
}
bool CWallet::Verify(const string walletFile, string& warningString, string& errorString)
bool CWallet::Verify(const string& walletFile, string& warningString, string& errorString)
{
if (!bitdb.Open(GetDataDir()))
{