Codechange: Pass NWidgetParts as span instead of begin/end pointers. (#12779)

This commit is contained in:
Peter Nelson
2024-06-12 23:08:35 +01:00
committed by GitHub
parent 81b5a7c7c6
commit 55314513ce
67 changed files with 201 additions and 203 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ static WindowDesc _subsidies_list_desc(
WDP_AUTO, "list_subsidies", 500, 127,
WC_SUBSIDIES_LIST, WC_NONE,
0,
std::begin(_nested_subsidies_list_widgets), std::end(_nested_subsidies_list_widgets)
_nested_subsidies_list_widgets
);