aboutsummaryrefslogtreecommitdiff
path: root/src/walletdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/walletdb.h')
-rw-r--r--src/walletdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/walletdb.h b/src/walletdb.h
index ce63bb0b97..475d4fb96d 100644
--- a/src/walletdb.h
+++ b/src/walletdb.h
@@ -75,7 +75,7 @@ public:
class CWalletDB : public CDB
{
public:
- CWalletDB(std::string strFilename, const char* pszMode="r+") : CDB(strFilename.c_str(), pszMode)
+ CWalletDB(const std::string& strFilename, const char* pszMode = "r+") : CDB(strFilename, pszMode)
{
}
private: