diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-04-17 17:41:49 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-04-18 13:41:28 +0100 |
commit | 6efd9644cfe31168db1841010cffa64dfe604e67 (patch) | |
tree | 9f93e702513ace56eb40dbdfc8bf6176ad8b8050 /src/wallet/init.cpp | |
parent | 615f7c288414a89cd1dec1d67e0f84abe2fb4c6d (diff) | |
download | bitcoin-6efd9644cfe31168db1841010cffa64dfe604e67.tar.xz |
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 2fd9aa1a6f..860e1cfac3 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(); |