From 341e2385d543ba96ae4d4eac649e9312537e1405 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Sat, 21 Mar 2015 18:40:51 +0100 Subject: use constant references for strings in functions in wallet/*.* --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/wallet.cpp') diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 44b416d49..167639b53 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -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())) { -- cgit v1.2.3