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 )
|
for( ITEM* item : aNode->m_override )
|
||||||
Remove( item );
|
Remove( item );
|
||||||
|
|
||||||
for( INDEX::ITEM_SET::iterator i = aNode->m_index->begin();
|
for( auto i : *aNode->m_index )
|
||||||
i != aNode->m_index->end(); ++i )
|
|
||||||
{
|
{
|
||||||
(*i)->SetRank( -1 );
|
i->SetRank( -1 );
|
||||||
(*i)->Unmark();
|
i->Unmark();
|
||||||
Add( std::unique_ptr<ITEM>( *i ) );
|
Add( std::unique_ptr<ITEM>( i ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
releaseChildren();
|
releaseChildren();
|
||||||
|
|
Loading…
Reference in New Issue