Skip to content

Commit 2c2d988

Browse files
committed
Merge #10546: Remove 33 unused Boost includes
49de096 Remove unused Boost includes (practicalswift) Tree-SHA512: ff2dad94f9eeb1dc50fcffd0e94e1686be04e4e5bc45f58ae955d630c15cd25bb8f5583d0aa1f2f263b5a723be79747ef3c6e6b417c7be7787c0abc8d1874019
2 parents e491831 + 49de096 commit 2c2d988

28 files changed

+0
-40
lines changed

src/bitcoind.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#include "httprpc.h"
2121
#include "utilstrencodings.h"
2222

23-
#include <boost/algorithm/string/predicate.hpp>
2423
#include <boost/thread.hpp>
2524

2625
#include <stdio.h>

src/checkqueue.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
#include <boost/foreach.hpp>
1414
#include <boost/thread/condition_variable.hpp>
15-
#include <boost/thread/locks.hpp>
1615
#include <boost/thread/mutex.hpp>
1716

1817
template <typename T>

src/coins.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <assert.h>
1818
#include <stdint.h>
1919

20-
#include <boost/foreach.hpp>
2120
#include <unordered_map>
2221

2322
/**

src/fs.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#include "fs.h"
22

3-
#include <boost/filesystem.hpp>
4-
53
namespace fsbridge {
64

75
FILE *fopen(const fs::path& p, const char *mode)

src/init.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
#endif
5656

5757
#include <boost/algorithm/string/classification.hpp>
58-
#include <boost/algorithm/string/predicate.hpp>
5958
#include <boost/algorithm/string/replace.hpp>
6059
#include <boost/algorithm/string/split.hpp>
6160
#include <boost/bind.hpp>

src/keystore.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#include "pubkey.h"
1010
#include "util.h"
1111

12-
#include <boost/foreach.hpp>
13-
1412
bool CKeyStore::AddKey(const CKey &key) {
1513
return AddKeyPubKey(key, key.GetPubKey());
1614
}

src/keystore.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "sync.h"
1414

1515
#include <boost/signals2/signal.hpp>
16-
#include <boost/variant.hpp>
1716

1817
/** A virtual base class for key stores */
1918
class CKeyStore

src/net_processing.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
#include "utilstrencodings.h"
3131
#include "validationinterface.h"
3232

33-
#include <boost/thread.hpp>
34-
3533
#if defined(NDEBUG)
3634
# error "Bitcoin cannot be compiled without assertions."
3735
#endif

src/qt/optionsdialog.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
#include "wallet/wallet.h" // for CWallet::GetRequiredFee()
2222
#endif
2323

24-
#include <boost/thread.hpp>
25-
2624
#include <QDataWidgetMapper>
2725
#include <QDir>
2826
#include <QIntValidator>

src/qt/transactiontablemodel.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
#include <QIcon>
2727
#include <QList>
2828

29-
#include <boost/foreach.hpp>
30-
3129
// Amount column is right-aligned it contains numbers
3230
static int column_alignments[] = {
3331
Qt::AlignLeft|Qt::AlignVCenter, /* status */

0 commit comments

Comments
 (0)