Fix compile error on Linux
The wxArrayString doesn't have a standard assignment operator to std::vector<wxString> so we iterate over the members. Fixes: lp:1854562 * https://bugs.launchpad.net/kicad/+bug/1854562
This commit is contained in:
parent
2ce7d9a708
commit
d20d310fcc
|
@ -251,7 +251,8 @@ void NETLIST_OBJECT::ConvertBusToNetListItems( NETLIST_OBJECT_LIST& aNetListItem
|
||||||
|
|
||||||
if( alias )
|
if( alias )
|
||||||
{
|
{
|
||||||
bus_contents_vec = alias->Members();
|
for( const auto& member : alias->Members() )
|
||||||
|
bus_contents_vec.emplace_back( member );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue