diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-06-17 19:43:15 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-06-17 22:31:58 +0300 |
commit | b83cc0fc94df99f0334430e63e8c9fa6ae3790e1 (patch) | |
tree | 80a30b5ea84ce7ae490775eef8871ad91e6814ba /src | |
parent | 39bd9ddb8783807b9cde6288233e86ad7c85d61f (diff) |
Fix link error with --enable-debug
Diffstat (limited to 'src')
-rw-r--r-- | src/ui_interface.h | 2 |
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; |