Connectivity: remove unused method
This commit is contained in:
parent
90f06c56a9
commit
8d8c743f97
|
@ -1769,27 +1769,6 @@ std::vector<const CONNECTION_SUBGRAPH*> CONNECTION_GRAPH::GetBusesNeedingMigrati
|
|||
}
|
||||
|
||||
|
||||
bool CONNECTION_GRAPH::UsesNewBusFeatures() const
|
||||
{
|
||||
for( auto&& subgraph : m_subgraphs )
|
||||
{
|
||||
if( !subgraph->m_driver )
|
||||
continue;
|
||||
|
||||
auto sheet = subgraph->m_sheet;
|
||||
auto connection = subgraph->m_driver->Connection( sheet );
|
||||
|
||||
if( !connection->IsBus() )
|
||||
continue;
|
||||
|
||||
if( connection->Type() == CONNECTION_BUS_GROUP )
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
int CONNECTION_GRAPH::RunERC( const ERC_SETTINGS& aSettings, bool aCreateMarkers )
|
||||
{
|
||||
int error_count = 0;
|
||||
|
|
|
@ -228,15 +228,6 @@ public:
|
|||
|
||||
std::vector<const CONNECTION_SUBGRAPH*> GetBusesNeedingMigration();
|
||||
|
||||
/**
|
||||
* Returns true if the graph makes use of any of the new bus features
|
||||
*
|
||||
* For quality control during rollout of new bus features:
|
||||
* - Aliases
|
||||
* - Bus groups
|
||||
*/
|
||||
bool UsesNewBusFeatures() const;
|
||||
|
||||
/**
|
||||
* Runs electrical rule checks on the connectivity graph.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue