scripted-diff: Remove Q_FOREACH
-BEGIN VERIFY SCRIPT- sed -i 's/Q_FOREACH *(\(.*\),/for (\1 :/' ./src/*.h ./src/*.cpp ./src/*/*.h ./src/*/*.cpp ./src/*/*/*.h ./src/*/*/*.cpp ; -END VERIFY SCRIPT-
This commit is contained in:
@@ -82,7 +82,7 @@ void WalletModelTransaction::reassignAmounts(int nChangePosRet)
|
||||
CAmount WalletModelTransaction::getTotalTransactionAmount()
|
||||
{
|
||||
CAmount totalTransactionAmount = 0;
|
||||
Q_FOREACH(const SendCoinsRecipient &rcp, recipients)
|
||||
for (const SendCoinsRecipient &rcp : recipients)
|
||||
{
|
||||
totalTransactionAmount += rcp.amount;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user