mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-26 21:54:22 +01:00
Codechange: Pass NWidgetParts as span instead of begin/end pointers. (#12779)
This commit is contained in:
@@ -517,7 +517,7 @@ static WindowDesc _main_window_desc(
|
||||
WDP_MANUAL, nullptr, 0, 0,
|
||||
WC_MAIN_WINDOW, WC_NONE,
|
||||
WDF_NO_CLOSE,
|
||||
std::begin(_nested_main_window_widgets), std::end(_nested_main_window_widgets),
|
||||
_nested_main_window_widgets,
|
||||
&MainWindow::hotkeys
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user