mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-15 00:59:38 +02:00
Merge #10193: scripted-diff: Remove #include <boost/foreach.hpp>
b1268a1clang-format: Delete ForEachMacros (Jorge Timón)5995735scripted-diff: Remove #include <boost/foreach.hpp> (Jorge Timón)3eff827scripted-diff: Remove BOOST_REVERSE_FOREACH (Jorge Timón)33aed5bFix const_reverse_iterator constructor (pass const ptr) (Jorge Timón)300851eIntroduce src/reverse_iterator.hpp and include it... (Jorge Timón) Tree-SHA512: df3405328e9602d0a433ac134ba59a5c9a6202ef64188df2f94a59b2ce58dec7c988b25d0671c7937de516a96b2e6daeb9d04c82fa363b616ee4cf6e9cb0fac6
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
BOOST_FIXTURE_TEST_SUITE(getarg_tests, BasicTestingSetup)
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "test/test_bitcoin.h"
|
||||
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
typedef std::vector<unsigned char> valtype;
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <vector>
|
||||
#include "prevector.h"
|
||||
|
||||
#include "reverse_iterator.h"
|
||||
#include "serialize.h"
|
||||
#include "streams.h"
|
||||
|
||||
@@ -56,13 +57,13 @@ class prevector_tester {
|
||||
for (const T& v : pre_vector) {
|
||||
local_check(v == real_vector[pos++]);
|
||||
}
|
||||
BOOST_REVERSE_FOREACH(const T& v, pre_vector) {
|
||||
for (const T& v : reverse_iterate(pre_vector)) {
|
||||
local_check(v == real_vector[--pos]);
|
||||
}
|
||||
for (const T& v : const_pre_vector) {
|
||||
local_check(v == real_vector[pos++]);
|
||||
}
|
||||
BOOST_REVERSE_FOREACH(const T& v, const_pre_vector) {
|
||||
for (const T& v : reverse_iterate(const_pre_vector)) {
|
||||
local_check(v == real_vector[--pos]);
|
||||
}
|
||||
CDataStream ss1(SER_DISK, 0);
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
#include <univalue.h>
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include <boost/algorithm/string/classification.hpp>
|
||||
#include <boost/algorithm/string/split.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
#include <univalue.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user