Codechange: Pass NWidgetParts as span instead of begin/end pointers. (#12779)
This commit is contained in:
@@ -540,7 +540,7 @@ static WindowDesc _linkgraph_legend_desc(
|
||||
WDP_AUTO, "toolbar_linkgraph", 0, 0,
|
||||
WC_LINKGRAPH_LEGEND, WC_NONE,
|
||||
0,
|
||||
std::begin(_nested_linkgraph_legend_widgets), std::end(_nested_linkgraph_legend_widgets)
|
||||
_nested_linkgraph_legend_widgets
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user