mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-23 12:14:11 +01:00
Codechange: Pass NWidgetParts as span instead of begin/end pointers. (#12779)
This commit is contained in:
@@ -1146,14 +1146,14 @@ static WindowDesc _other_group_desc(
|
||||
WDP_AUTO, "list_groups", 460, 246,
|
||||
WC_INVALID, WC_NONE,
|
||||
0,
|
||||
std::begin(_nested_group_widgets), std::end(_nested_group_widgets)
|
||||
_nested_group_widgets
|
||||
);
|
||||
|
||||
static WindowDesc _train_group_desc(
|
||||
WDP_AUTO, "list_groups_train", 525, 246,
|
||||
WC_TRAINS_LIST, WC_NONE,
|
||||
0,
|
||||
std::begin(_nested_group_widgets), std::end(_nested_group_widgets)
|
||||
_nested_group_widgets
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user