Make strWalletFile const (#1459)
* Make strWalletFile const * Insert Line Space for Legibility
This commit is contained in:
parent
9901cf4338
commit
e30faab6fd
@ -644,7 +644,7 @@ public:
|
||||
mutable CCriticalSection cs_wallet;
|
||||
|
||||
bool fFileBacked;
|
||||
std::string strWalletFile;
|
||||
const std::string strWalletFile;
|
||||
|
||||
std::set<int64_t> setKeyPool;
|
||||
std::map<CKeyID, CKeyMetadata> mapKeyMetadata;
|
||||
@ -658,11 +658,11 @@ public:
|
||||
SetNull();
|
||||
}
|
||||
|
||||
CWallet(const std::string& strWalletFileIn)
|
||||
CWallet(const std::string& strWalletFileIn)
|
||||
: strWalletFile(strWalletFileIn)
|
||||
{
|
||||
SetNull();
|
||||
|
||||
strWalletFile = strWalletFileIn;
|
||||
fFileBacked = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user