Browse Source

scripted-diff: Remove #include <boost/foreach.hpp>

-BEGIN VERIFY SCRIPT-
sed -i ':a;N;$!ba;s/#include <boost\/foreach.hpp>\n//' ./src/*.h ./src/*.cpp ./src/*/*.h ./src/*/*.cpp ./src/*/*/*.h ./src/*/*/*.cpp
-END VERIFY SCRIPT-
pull/1/head
Jorge Timón 6 years ago
parent
commit
5995735c5b
No known key found for this signature in database
GPG Key ID: A4F5D141C01A0387
  1. 1
      src/bench/coin_selection.cpp
  2. 1
      src/bloom.cpp
  3. 1
      src/checkpoints.cpp
  4. 1
      src/checkqueue.h
  5. 1
      src/core_write.cpp
  6. 1
      src/httprpc.cpp
  7. 1
      src/memusage.h
  8. 1
      src/net.h
  9. 1
      src/policy/policy.cpp
  10. 1
      src/qt/addresstablemodel.cpp
  11. 1
      src/qt/recentrequeststablemodel.cpp
  12. 1
      src/qt/transactionrecord.cpp
  13. 1
      src/qt/walletmodel.cpp
  14. 1
      src/rpc/net.cpp
  15. 1
      src/rpc/server.cpp
  16. 1
      src/script/ismine.cpp
  17. 1
      src/script/sign.cpp
  18. 1
      src/script/standard.cpp
  19. 1
      src/sync.cpp
  20. 1
      src/test/getarg_tests.cpp
  21. 1
      src/test/multisig_tests.cpp
  22. 1
      src/test/script_tests.cpp
  23. 1
      src/test/transaction_tests.cpp
  24. 1
      src/timedata.cpp
  25. 1
      src/torcontrol.cpp
  26. 1
      src/wallet/crypter.cpp
  27. 1
      src/wallet/db.cpp
  28. 1
      src/wallet/rpcdump.cpp
  29. 1
      src/wallet/test/accounting_tests.cpp
  30. 1
      src/wallet/walletdb.cpp

1
src/bench/coin_selection.cpp

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
#include "bench.h"
#include "wallet/wallet.h"
#include <boost/foreach.hpp>
#include <set>
static void addCoin(const CAmount& nValue, const CWallet& wallet, std::vector<COutput>& vCoins)

1
src/bloom.cpp

@ -14,7 +14,6 @@ @@ -14,7 +14,6 @@
#include <math.h>
#include <stdlib.h>
#include <boost/foreach.hpp>
#define LN2SQUARED 0.4804530139182014246671025263266649717305529515945455
#define LN2 0.6931471805599453094172321214581765680755001343602552

1
src/checkpoints.cpp

@ -12,7 +12,6 @@ @@ -12,7 +12,6 @@
#include <stdint.h>
#include <boost/foreach.hpp>
namespace Checkpoints {

1
src/checkqueue.h

@ -10,7 +10,6 @@ @@ -10,7 +10,6 @@
#include <algorithm>
#include <vector>
#include <boost/foreach.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/thread/mutex.hpp>

1
src/core_write.cpp

@ -15,7 +15,6 @@ @@ -15,7 +15,6 @@
#include "utilmoneystr.h"
#include "utilstrencodings.h"
#include <boost/foreach.hpp>
std::string FormatScript(const CScript& script)
{

1
src/httprpc.cpp

@ -18,7 +18,6 @@ @@ -18,7 +18,6 @@
#include <stdio.h>
#include <boost/algorithm/string.hpp> // boost::trim
#include <boost/foreach.hpp>
/** WWW-Authenticate to present with 401 Unauthorized response */
static const char* WWW_AUTH_HEADER_DATA = "Basic realm=\"jsonrpc\"";

1
src/memusage.h

@ -15,7 +15,6 @@ @@ -15,7 +15,6 @@
#include <unordered_map>
#include <unordered_set>
#include <boost/foreach.hpp>
namespace memusage
{

1
src/net.h

@ -33,7 +33,6 @@ @@ -33,7 +33,6 @@
#include <arpa/inet.h>
#endif
#include <boost/foreach.hpp>
#include <boost/signals2/signal.hpp>
class CScheduler;

1
src/policy/policy.cpp

@ -13,7 +13,6 @@ @@ -13,7 +13,6 @@
#include "util.h"
#include "utilstrencodings.h"
#include <boost/foreach.hpp>
CAmount GetDustThreshold(const CTxOut& txout, const CFeeRate& dustRelayFeeIn)
{

1
src/qt/addresstablemodel.cpp

@ -10,7 +10,6 @@ @@ -10,7 +10,6 @@
#include "base58.h"
#include "wallet/wallet.h"
#include <boost/foreach.hpp>
#include <QFont>
#include <QDebug>

1
src/qt/recentrequeststablemodel.cpp

@ -11,7 +11,6 @@ @@ -11,7 +11,6 @@
#include "clientversion.h"
#include "streams.h"
#include <boost/foreach.hpp>
RecentRequestsTableModel::RecentRequestsTableModel(CWallet *wallet, WalletModel *parent) :
QAbstractTableModel(parent), walletModel(parent)

1
src/qt/transactionrecord.cpp

@ -12,7 +12,6 @@ @@ -12,7 +12,6 @@
#include <stdint.h>
#include <boost/foreach.hpp>
/* Return positive answer if transaction should be shown in list.
*/

1
src/qt/walletmodel.cpp

@ -34,7 +34,6 @@ @@ -34,7 +34,6 @@
#include <QSet>
#include <QTimer>
#include <boost/foreach.hpp>
WalletModel::WalletModel(const PlatformStyle *platformStyle, CWallet *_wallet, OptionsModel *_optionsModel, QObject *parent) :
QObject(parent), wallet(_wallet), optionsModel(_optionsModel), addressTableModel(0),

1
src/rpc/net.cpp

@ -19,7 +19,6 @@ @@ -19,7 +19,6 @@
#include "utilstrencodings.h"
#include "version.h"
#include <boost/foreach.hpp>
#include <univalue.h>

1
src/rpc/server.cpp

@ -17,7 +17,6 @@ @@ -17,7 +17,6 @@
#include <univalue.h>
#include <boost/bind.hpp>
#include <boost/foreach.hpp>
#include <boost/signals2/signal.hpp>
#include <boost/algorithm/string/case_conv.hpp> // for to_upper()
#include <boost/algorithm/string/classification.hpp>

1
src/script/ismine.cpp

@ -11,7 +11,6 @@ @@ -11,7 +11,6 @@
#include "script/standard.h"
#include "script/sign.h"
#include <boost/foreach.hpp>
typedef std::vector<unsigned char> valtype;

1
src/script/sign.cpp

@ -12,7 +12,6 @@ @@ -12,7 +12,6 @@
#include "script/standard.h"
#include "uint256.h"
#include <boost/foreach.hpp>
typedef std::vector<unsigned char> valtype;

1
src/script/standard.cpp

@ -10,7 +10,6 @@ @@ -10,7 +10,6 @@
#include "util.h"
#include "utilstrencodings.h"
#include <boost/foreach.hpp>
typedef std::vector<unsigned char> valtype;

1
src/sync.cpp

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
#include <stdio.h>
#include <boost/foreach.hpp>
#include <boost/thread.hpp>
#ifdef DEBUG_LOCKCONTENTION

1
src/test/getarg_tests.cpp

@ -9,7 +9,6 @@ @@ -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)

1
src/test/multisig_tests.cpp

@ -14,7 +14,6 @@ @@ -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;

1
src/test/script_tests.cpp

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
#include <string>
#include <vector>
#include <boost/foreach.hpp>
#include <boost/test/unit_test.hpp>
#include <univalue.h>

1
src/test/transaction_tests.cpp

@ -27,7 +27,6 @@ @@ -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>

1
src/timedata.cpp

@ -15,7 +15,6 @@ @@ -15,7 +15,6 @@
#include "utilstrencodings.h"
#include "warnings.h"
#include <boost/foreach.hpp>
static CCriticalSection cs_nTimeOffset;
static int64_t nTimeOffset = 0;

1
src/torcontrol.cpp

@ -17,7 +17,6 @@ @@ -17,7 +17,6 @@
#include <boost/bind.hpp>
#include <boost/signals2/signal.hpp>
#include <boost/foreach.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/replace.hpp>

1
src/wallet/crypter.cpp

@ -12,7 +12,6 @@ @@ -12,7 +12,6 @@
#include <string>
#include <vector>
#include <boost/foreach.hpp>
int CCrypter::BytesToKeySHA512AES(const std::vector<unsigned char>& chSalt, const SecureString& strKeyData, int count, unsigned char *key,unsigned char *iv) const
{

1
src/wallet/db.cpp

@ -18,7 +18,6 @@ @@ -18,7 +18,6 @@
#include <sys/stat.h>
#endif
#include <boost/foreach.hpp>
#include <boost/thread.hpp>
//

1
src/wallet/rpcdump.cpp

@ -26,7 +26,6 @@ @@ -26,7 +26,6 @@
#include <univalue.h>
#include <boost/foreach.hpp>
std::string static EncodeDumpTime(int64_t nTime) {
return DateTimeStrFormat("%Y-%m-%dT%H:%M:%SZ", nTime);

1
src/wallet/test/accounting_tests.cpp

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
#include <stdint.h>
#include <boost/foreach.hpp>
#include <boost/test/unit_test.hpp>
extern CWallet* pwalletMain;

1
src/wallet/walletdb.cpp

@ -18,7 +18,6 @@ @@ -18,7 +18,6 @@
#include <atomic>
#include <boost/foreach.hpp>
#include <boost/thread.hpp>
//

Loading…
Cancel
Save