diff options
| author | João Barbosa <[email protected]> | 2018-04-17 17:41:49 +0100 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2018-04-18 13:41:28 +0100 |
| commit | 6efd9644cfe31168db1841010cffa64dfe604e67 (patch) | |
| tree | 9f93e702513ace56eb40dbdfc8bf6176ad8b8050 /src/wallet/init.cpp | |
| parent | Merge #12985: Windows: Avoid launching as admin when NSIS installer ends. (diff) | |
| download | discoin-6efd9644cfe31168db1841010cffa64dfe604e67.tar.xz discoin-6efd9644cfe31168db1841010cffa64dfe604e67.zip | |
refactor: Drop CWalletRef typedef
Diffstat (limited to 'src/wallet/init.cpp')
| -rw-r--r-- | src/wallet/init.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wallet/init.cpp b/src/wallet/init.cpp index 2fd9aa1a6..860e1cfac 100644 --- a/src/wallet/init.cpp +++ b/src/wallet/init.cpp @@ -323,28 +323,28 @@ bool WalletInit::Open() const void WalletInit::Start(CScheduler& scheduler) const { - for (CWalletRef pwallet : vpwallets) { + for (CWallet* pwallet : vpwallets) { pwallet->postInitProcess(scheduler); } } void WalletInit::Flush() const { - for (CWalletRef pwallet : vpwallets) { + for (CWallet* pwallet : vpwallets) { pwallet->Flush(false); } } void WalletInit::Stop() const { - for (CWalletRef pwallet : vpwallets) { + for (CWallet* pwallet : vpwallets) { pwallet->Flush(true); } } void WalletInit::Close() const { - for (CWalletRef pwallet : vpwallets) { + for (CWallet* pwallet : vpwallets) { delete pwallet; } vpwallets.clear(); |