Skip to content

Commit d312fd9

Browse files
jonatackmartinus
authored andcommitted
bench: clean up includes
Drops unneeded and adds missing includes
1 parent 1f10f16 commit d312fd9

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

src/bench/bech32.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

55
#include <bench/bench.h>
6-
#include <bench/nanobench.h>
76

87
#include <bech32.h>
98
#include <util/strencodings.h>

src/bench/bench.cpp

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,18 @@
44

55
#include <bench/bench.h>
66

7-
#include <chainparams.h>
87
#include <test/util/setup_common.h>
9-
#include <validation.h>
108

9+
#include <chrono>
10+
#include <fstream>
11+
#include <functional>
12+
#include <iostream>
13+
#include <map>
1114
#include <regex>
15+
#include <string>
16+
#include <vector>
17+
18+
using namespace std::chrono_literals;
1219

1320
const std::function<void(const std::string&)> G_TEST_LOG_FUN{};
1421

src/bench/bench_bitcoin.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
#include <util/strencodings.h>
1010
#include <util/system.h>
1111

12-
#include <memory>
12+
#include <chrono>
13+
#include <cstdint>
14+
#include <iostream>
15+
#include <sstream>
16+
#include <vector>
1317

1418
static const char* DEFAULT_BENCH_FILTER = ".*";
1519
static constexpr int64_t DEFAULT_MIN_TIME_MS{10};

0 commit comments

Comments
 (0)