Formatting.

This commit is contained in:
Jeff Young 2024-05-30 13:12:53 +01:00
parent c0635f222d
commit 652c1d4006
1 changed files with 4 additions and 4 deletions

View File

@ -242,17 +242,17 @@ static void extractDiffPairCoupledItems( DIFF_PAIR_ITEMS& aDp )
[&] ( BOARD_ITEM *aItem )
{
if( aItem == bestCoupled->parentN || aItem == bestCoupled->parentP )
{
return false;
}
if( aItem->Type() == PCB_TRACE_T || aItem->Type() == PCB_VIA_T )
{
auto bci = static_cast<BOARD_CONNECTED_ITEM*>( aItem );
BOARD_CONNECTED_ITEM* bci = static_cast<BOARD_CONNECTED_ITEM*>( aItem );
if( bci->GetNetCode() == bestCoupled->parentN->GetNetCode()
|| bci->GetNetCode() == bestCoupled->parentP->GetNetCode() )
|| bci->GetNetCode() == bestCoupled->parentP->GetNetCode() )
{
return false;
}
}
return true;