aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-06-17 10:56:52 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-07-24 16:32:53 +0300
commit0b86e517ad733c8740c519332aa4c0e9035dbaab (patch)
treeb2e0e4ed7b07400231d9323419b0e8eeb3576490 /src/test
parent0626b8cbdf0aa971500eb5613c7ab4096c496966 (diff)
Refactor out translation.h
This is a prerequisite for introducing bilingual error messages. Note: #includes are arranged by clang-format-diff.py script.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/setup_common.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/setup_common.cpp b/src/test/setup_common.cpp
index 24c7d51898..de877fd167 100644
--- a/src/test/setup_common.cpp
+++ b/src/test/setup_common.cpp
@@ -23,10 +23,13 @@
#include <util/memory.h>
#include <util/strencodings.h>
#include <util/time.h>
+#include <util/translation.h>
#include <util/validation.h>
#include <validation.h>
#include <validationinterface.h>
+#include <functional>
+
const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr;
FastRandomContext g_insecure_rand_ctx;