mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-18 01:42:38 +01:00
Codechange: Pass NWidgetParts as span instead of begin/end pointers. (#12779)
This commit is contained in:
@@ -429,7 +429,7 @@ static WindowDesc _cheats_desc(
|
||||
WDP_AUTO, "cheats", 0, 0,
|
||||
WC_CHEATS, WC_NONE,
|
||||
0,
|
||||
std::begin(_nested_cheat_widgets), std::end(_nested_cheat_widgets)
|
||||
_nested_cheat_widgets
|
||||
);
|
||||
|
||||
/** Open cheat window. */
|
||||
|
||||
Reference in New Issue
Block a user