File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3261,9 +3261,9 @@ std::map<CTxDestination, CAmount> CWallet::GetAddressBalances()
3261
3261
3262
3262
{
3263
3263
LOCK (cs_wallet);
3264
- BOOST_FOREACH ( PAIRTYPE (uint256, CWalletTx) walletEntry, mapWallet)
3264
+ for ( const auto & walletEntry : mapWallet)
3265
3265
{
3266
- CWalletTx *pcoin = &walletEntry.second ;
3266
+ const CWalletTx *pcoin = &walletEntry.second ;
3267
3267
3268
3268
if (!pcoin->IsTrusted ())
3269
3269
continue ;
@@ -3301,9 +3301,9 @@ std::set< std::set<CTxDestination> > CWallet::GetAddressGroupings()
3301
3301
std::set< std::set<CTxDestination> > groupings;
3302
3302
std::set<CTxDestination> grouping;
3303
3303
3304
- BOOST_FOREACH ( PAIRTYPE (uint256, CWalletTx) walletEntry, mapWallet)
3304
+ for ( const auto & walletEntry : mapWallet)
3305
3305
{
3306
- CWalletTx *pcoin = &walletEntry.second ;
3306
+ const CWalletTx *pcoin = &walletEntry.second ;
3307
3307
3308
3308
if (pcoin->tx ->vin .size () > 0 )
3309
3309
{
You can’t perform that action at this time.
0 commit comments