Browse Source

Make strWalletFile const

0.14
Jonas Schnelli 8 years ago
parent
commit
f7345050e9
No known key found for this signature in database
GPG Key ID: 29D4BCB6416F53EC
  1. 6
      src/wallet/wallet.h

6
src/wallet/wallet.h

@ -600,7 +600,7 @@ public: @@ -600,7 +600,7 @@ public:
*/
mutable CCriticalSection cs_wallet;
std::string strWalletFile;
const std::string strWalletFile;
void LoadKeyPool(int nIndex, const CKeyPool &keypool)
{
@ -625,11 +625,9 @@ public: @@ -625,11 +625,9 @@ public:
SetNull();
}
CWallet(const std::string& strWalletFileIn)
CWallet(const std::string& strWalletFileIn) : strWalletFile(strWalletFileIn)
{
SetNull();
strWalletFile = strWalletFileIn;
fFileBacked = true;
}

Loading…
Cancel
Save