aboutsummaryrefslogtreecommitdiff
path: root/src/warnings.cpp
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/warnings.cpp
parent0626b8cbdf0aa971500eb5613c7ab4096c496966 (diff)
downloadbitcoin-0b86e517ad733c8740c519332aa4c0e9035dbaab.tar.xz
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/warnings.cpp')
-rw-r--r--src/warnings.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/warnings.cpp b/src/warnings.cpp
index 5542412a7f..2a81882583 100644
--- a/src/warnings.cpp
+++ b/src/warnings.cpp
@@ -3,9 +3,11 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+#include <warnings.h>
+
#include <sync.h>
#include <util/system.h>
-#include <warnings.h>
+#include <util/translation.h>
static RecursiveMutex cs_warnings;
static std::string strMiscWarning GUARDED_BY(cs_warnings);