aboutsummaryrefslogtreecommitdiff
path: root/src/ui_interface.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-06-17 19:43:15 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-06-17 22:31:58 +0300
commitb83cc0fc94df99f0334430e63e8c9fa6ae3790e1 (patch)
tree80a30b5ea84ce7ae490775eef8871ad91e6814ba /src/ui_interface.h
parent39bd9ddb8783807b9cde6288233e86ad7c85d61f (diff)
downloadbitcoin-b83cc0fc94df99f0334430e63e8c9fa6ae3790e1.tar.xz
Fix link error with --enable-debug
Diffstat (limited to 'src/ui_interface.h')
-rw-r--r--src/ui_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui_interface.h b/src/ui_interface.h
index 356d30eaf6..b7895e373f 100644
--- a/src/ui_interface.h
+++ b/src/ui_interface.h
@@ -122,7 +122,7 @@ void InitWarning(const bilingual_str& str);
/** Show error message **/
bool InitError(const bilingual_str& str);
-constexpr auto AbortError = InitError;
+inline bool AbortError(const bilingual_str& str) { return InitError(str); }
extern CClientUIInterface uiInterface;