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:
Seth Hillbrand 2019-11-30 05:23:08 -08:00
parent 2ce7d9a708
commit d20d310fcc
1 changed files with 2 additions and 1 deletions

View File

@ -251,7 +251,8 @@ void NETLIST_OBJECT::ConvertBusToNetListItems( NETLIST_OBJECT_LIST& aNetListItem
if( alias )
{
bus_contents_vec = alias->Members();
for( const auto& member : alias->Members() )
bus_contents_vec.emplace_back( member );
}
else
{