aboutsummaryrefslogtreecommitdiff
path: root/src/ui_interface.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-19 16:29:03 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-27 11:38:55 -0400
commitfa0f6c58c1c6d10f04c4e65a424cc51ebca50a8c (patch)
treed4189830e2096d765cae2d228cf3da67d378ee09 /src/ui_interface.h
parent49464004701e5ac256fe1f3e969464012af7c598 (diff)
Revert "Fix link error with --enable-debug"
This reverts commit b83cc0fc94df99f0334430e63e8c9fa6ae3790e1.
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 b7895e373f..356d30eaf6 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;