Fix overzealous driver check that was causing false positives

This commit is contained in:
Jon Evans 2020-08-25 21:54:14 -04:00
parent d40ae3de46
commit 1d2838bd92
1 changed files with 1 additions and 1 deletions

View File

@ -2442,7 +2442,7 @@ bool CONNECTION_GRAPH::ercCheckNoConnects( const CONNECTION_SUBGRAPH* aSubgraph
bool CONNECTION_GRAPH::ercCheckFloatingWires( const CONNECTION_SUBGRAPH* aSubgraph ) bool CONNECTION_GRAPH::ercCheckFloatingWires( const CONNECTION_SUBGRAPH* aSubgraph )
{ {
if( !aSubgraph->m_drivers.empty() ) if( aSubgraph->m_driver )
return true; return true;
std::vector<SCH_LINE*> wires; std::vector<SCH_LINE*> wires;