diff --git a/src/console_gui.cpp b/src/console_gui.cpp --- a/src/console_gui.cpp +++ b/src/console_gui.cpp @@ -98,7 +98,7 @@ static inline void IConsoleResetHistoryP static const char *IConsoleHistoryAdd(const char *cmd); static void IConsoleHistoryNavigate(int direction); -static const NWidgetPart _nested_console_window_widgets[] = { +static constexpr NWidgetPart _nested_console_window_widgets[] = { NWidget(WWT_EMPTY, INVALID_COLOUR, WID_C_BACKGROUND), SetResize(1, 1), };