Change stale_bus_members to work around MSVC issue
Somehow, MSVC vector gets corrupted in certain cases. While the mechanism is unclear, using an unordered_set avoids this problem Fixes https://gitlab.com/kicad/code/kicad/-/issues/15217
This commit is contained in:
parent
60806edac0
commit
7bd3992350
|
@ -2191,7 +2191,7 @@ void CONNECTION_GRAPH::propagateToNeighbors( CONNECTION_SUBGRAPH* aSubgraph, boo
|
|||
SCH_CONNECTION* conn = aSubgraph->m_driver_connection;
|
||||
std::vector<CONNECTION_SUBGRAPH*> search_list;
|
||||
std::unordered_set<CONNECTION_SUBGRAPH*> visited;
|
||||
std::vector<SCH_CONNECTION*> stale_bus_members;
|
||||
std::unordered_set<SCH_CONNECTION*> stale_bus_members;
|
||||
|
||||
auto visit =
|
||||
[&]( CONNECTION_SUBGRAPH* aParent )
|
||||
|
|
Loading…
Reference in New Issue