Skip to content

Commit b83cc0f

Browse files
committed
Fix link error with --enable-debug
1 parent 39bd9dd commit b83cc0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui_interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void InitWarning(const bilingual_str& str);
122122

123123
/** Show error message **/
124124
bool InitError(const bilingual_str& str);
125-
constexpr auto AbortError = InitError;
125+
inline bool AbortError(const bilingual_str& str) { return InitError(str); }
126126

127127
extern CClientUIInterface uiInterface;
128128

0 commit comments

Comments
 (0)