diff options
| author | Jorge Timón <[email protected]> | 2017-06-02 03:25:02 +0200 |
|---|---|---|
| committer | Jorge Timón <[email protected]> | 2017-06-05 20:11:01 +0200 |
| commit | 18dc3c396299caccb0df31254aaec0d08b70dd2a (patch) | |
| tree | 05b0ce630dbc47a5f842f50fce46f891b1482108 /src/qt/test/paymentservertests.cpp | |
| parent | scripted-diff: Fully remove BOOST_FOREACH (diff) | |
| download | discoin-18dc3c396299caccb0df31254aaec0d08b70dd2a.tar.xz discoin-18dc3c396299caccb0df31254aaec0d08b70dd2a.zip | |
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-
Diffstat (limited to 'src/qt/test/paymentservertests.cpp')
| -rw-r--r-- | src/qt/test/paymentservertests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/test/paymentservertests.cpp b/src/qt/test/paymentservertests.cpp index 08a76c7d4..e812c5c38 100644 --- a/src/qt/test/paymentservertests.cpp +++ b/src/qt/test/paymentservertests.cpp @@ -196,7 +196,7 @@ void PaymentServerTests::paymentServerTests() QVERIFY(r.paymentRequest.IsInitialized()); // Extract address and amount from the request QList<std::pair<CScript, CAmount> > sendingTos = r.paymentRequest.getPayTo(); - Q_FOREACH (const PAIRTYPE(CScript, CAmount)& sendingTo, sendingTos) { + for (const PAIRTYPE(CScript, CAmount)& sendingTo : sendingTos) { CTxDestination dest; if (ExtractDestination(sendingTo.first, dest)) QCOMPARE(PaymentServer::verifyAmount(sendingTo.second), false); |