diff options
| author | Hennadii Stepanov <[email protected]> | 2020-06-17 19:43:15 +0300 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-06-17 22:31:58 +0300 |
| commit | b83cc0fc94df99f0334430e63e8c9fa6ae3790e1 (patch) | |
| tree | 80a30b5ea84ce7ae490775eef8871ad91e6814ba /src/ui_interface.h | |
| parent | Merge #19295: refactor: Use AbortError in FatalError (diff) | |
| download | discoin-b83cc0fc94df99f0334430e63e8c9fa6ae3790e1.tar.xz discoin-b83cc0fc94df99f0334430e63e8c9fa6ae3790e1.zip | |
Fix link error with --enable-debug
Diffstat (limited to 'src/ui_interface.h')
| -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 356d30eaf..b7895e373 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; |