aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2018-08-13 16:13:29 -0400
committerMarcoFalke <[email protected]>2018-08-24 08:34:38 -0400
commitddddce0e46e73d4ca369f2ce9696231cc579e1f9 (patch)
treeb4242246762d8ff5c2351925ee8907b4dd232611 /src/bench
parentMerge #13634: ui: Compile boost::signals2 only once (diff)
downloaddiscoin-ddddce0e46e73d4ca369f2ce9696231cc579e1f9.tar.xz
discoin-ddddce0e46e73d4ca369f2ce9696231cc579e1f9.zip
util: Replace boost::signals2 with std::function
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/bench_bitcoin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bench/bench_bitcoin.cpp b/src/bench/bench_bitcoin.cpp
index 603b858e5..d7b8083e7 100644
--- a/src/bench/bench_bitcoin.cpp
+++ b/src/bench/bench_bitcoin.cpp
@@ -13,6 +13,8 @@
#include <memory>
+const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr;
+
static const int64_t DEFAULT_BENCH_EVALUATIONS = 5;
static const char* DEFAULT_BENCH_FILTER = ".*";
static const char* DEFAULT_BENCH_SCALING = "1.0";