Skip to content

Commit c369cb8

Browse files
committed
Remove more unused boost includes
1 parent ab674a0 commit c369cb8

File tree

8 files changed

+7
-16
lines changed

8 files changed

+7
-16
lines changed

src/checkqueue.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
99
#include <vector>
1010

1111
#include <boost/thread/condition_variable.hpp>
12-
#include <boost/thread/locks.hpp>
1312
#include <boost/thread/mutex.hpp>
1413

1514
template <typename T>
1615
class CCheckQueueControl;
1716

18-
/**
17+
/**
1918
* Queue for verifications that have to be performed.
2019
* The verifications are represented by a type T, which must provide an
2120
* operator(), returning a bool.
@@ -167,7 +166,7 @@ class CCheckQueue
167166
}
168167
};
169168

170-
/**
169+
/**
171170
* RAII-style controller object for a CCheckQueue that guarantees the passed
172171
* queue is finished before continuing.
173172
*/

src/fs.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
#include "fs.h"
77

8-
#include <boost/filesystem.hpp>
9-
108
namespace fsbridge {
119

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

src/pivxd.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#include "httprpc.h"
1818
#include "validation.h"
1919

20-
#include <boost/thread.hpp>
21-
2220
#include <stdio.h>
2321

2422
/* Introduction text for doxygen: */

src/qt/pivx.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@
4040

4141
#include <stdint.h>
4242

43-
#include <boost/thread.hpp>
44-
4543
#include <QApplication>
4644
#include <QDebug>
4745
#include <QLibraryInfo>

src/qt/pivx/settings/settingsmainoptionswidget.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
#include "wallet/wallet.h" // for CWallet::minTxFee
2424
#endif
2525

26-
#include <boost/thread.hpp>
27-
2826
#include <QDataWidgetMapper>
2927
#include <QIntValidator>
3028
#include <QLocale>

src/script/sigcache.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
#include "sigcache.h"
88

9+
#include "cuckoocache.h"
910
#include "memusage.h"
1011
#include "pubkey.h"
1112
#include "random.h"
1213
#include "uint256.h"
1314
#include "util.h"
1415

15-
#include "cuckoocache.h"
16-
#include <boost/thread.hpp>
16+
#include <boost/thread/thread.hpp>
1717

1818
namespace {
1919
/**

src/test/cuckoocache_tests.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
// Copyright (c) 2012-2016 The Bitcoin Core developers
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4-
#include <boost/test/unit_test.hpp>
4+
55
#include "cuckoocache.h"
66
#include "script/sigcache.h"
77
#include "test/test_pivx.h"
88
#include "random.h"
9+
910
#include <thread>
10-
#include <boost/thread.hpp>
1111

12+
#include <boost/test/unit_test.hpp>
1213

1314
/** Test Suite for CuckooCache
1415
*

src/util.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#include <unordered_set>
3333
#include <vector>
3434

35-
#include <boost/thread/exceptions.hpp>
3635
#include <boost/thread/condition_variable.hpp> // for boost::thread_interrupted
3736

3837
extern const char * const PIVX_CONF_FILENAME;

0 commit comments

Comments
 (0)