pcbnew: Code formatting
This commit is contained in:
parent
a4966adb67
commit
11b45002e1
|
@ -1211,12 +1211,11 @@ void NODE::Commit( NODE* aNode )
|
|||
for( ITEM* item : aNode->m_override )
|
||||
Remove( item );
|
||||
|
||||
for( INDEX::ITEM_SET::iterator i = aNode->m_index->begin();
|
||||
i != aNode->m_index->end(); ++i )
|
||||
for( auto i : *aNode->m_index )
|
||||
{
|
||||
(*i)->SetRank( -1 );
|
||||
(*i)->Unmark();
|
||||
Add( std::unique_ptr<ITEM>( *i ) );
|
||||
i->SetRank( -1 );
|
||||
i->Unmark();
|
||||
Add( std::unique_ptr<ITEM>( i ) );
|
||||
}
|
||||
|
||||
releaseChildren();
|
||||
|
|
Loading…
Reference in New Issue