diff options
| author | Jorge Timón <[email protected]> | 2017-06-02 03:18:57 +0200 |
|---|---|---|
| committer | Jorge Timón <[email protected]> | 2017-06-05 20:10:50 +0200 |
| commit | 7c00c267264ad80c2991b2f6c2ae08c2d9c9732b (patch) | |
| tree | ced05e4a7ca759b23c0306092a66aa0e1c65ce36 /src/bench | |
| parent | Small preparations for Q_FOREACH, PAIRTYPE and #include <boost/foreach.hpp> r... (diff) | |
| download | discoin-7c00c267264ad80c2991b2f6c2ae08c2d9c9732b.tar.xz discoin-7c00c267264ad80c2991b2f6c2ae08c2d9c9732b.zip | |
scripted-diff: Fully remove BOOST_FOREACH
-BEGIN VERIFY SCRIPT-
sed -i 's/BOOST_FOREACH *(\(.*\),/for (\1 :/' ./src/*.h ./src/*.cpp ./src/*/*.h ./src/*/*.cpp ./src/*/*/*.h ./src/*/*/*.cpp ;
-END VERIFY SCRIPT-
Diffstat (limited to 'src/bench')
| -rw-r--r-- | src/bench/coin_selection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/coin_selection.cpp b/src/bench/coin_selection.cpp index 42891f345..942942c29 100644 --- a/src/bench/coin_selection.cpp +++ b/src/bench/coin_selection.cpp @@ -39,7 +39,7 @@ static void CoinSelection(benchmark::State& state) while (state.KeepRunning()) { // Empty wallet. - BOOST_FOREACH (COutput output, vCoins) + for (COutput output : vCoins) delete output.tx; vCoins.clear(); |