pcbnew: Code formatting

This commit is contained in:
Seth Hillbrand 2018-10-04 05:29:21 -07:00
parent a4966adb67
commit 11b45002e1
1 changed files with 15 additions and 16 deletions

View File

@ -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();