From fa0f6c58c1c6d10f04c4e65a424cc51ebca50a8c Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Fri, 19 Jun 2020 16:29:03 -0400 Subject: [PATCH] Revert "Fix link error with --enable-debug" This reverts commit b83cc0fc94df99f0334430e63e8c9fa6ae3790e1. --- src/ui_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui_interface.h b/src/ui_interface.h index b7895e373..356d30eaf 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); -inline bool AbortError(const bilingual_str& str) { return InitError(str); } +constexpr auto AbortError = InitError; extern CClientUIInterface uiInterface;