Remove auto when not needed for line length.

This commit is contained in:
Jeff Young 2021-07-07 19:00:00 +01:00
parent db91908c18
commit 66eb2ddeb5
4 changed files with 5 additions and 5 deletions

View File

@ -1325,7 +1325,7 @@ bool SCH_SCREENS::HasNoFullyDefinedLibIds()
for( screen = GetFirst(); screen; screen = GetNext() ) for( screen = GetFirst(); screen; screen = GetNext() )
{ {
for( auto item : screen->Items().OfType( SCH_SYMBOL_T ) ) for( SCH_ITEM* item : screen->Items().OfType( SCH_SYMBOL_T ) )
{ {
cnt++; cnt++;
SCH_SYMBOL* symbol = static_cast<SCH_SYMBOL*>( item ); SCH_SYMBOL* symbol = static_cast<SCH_SYMBOL*>( item );

View File

@ -339,7 +339,7 @@ int SYMBOL_EDITOR_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
m_anchorPos = { 0, 0 }; m_anchorPos = { 0, 0 };
for( auto item : selection ) for( EDA_ITEM* item : selection )
item->ClearEditFlags(); item->ClearEditFlags();
if( restore_state ) if( restore_state )

View File

@ -255,7 +255,7 @@ int PL_EDIT_TOOL::Main( const TOOL_EVENT& aEvent )
selection.ClearReferencePoint(); selection.ClearReferencePoint();
for( auto item : selection ) for( EDA_ITEM* item : selection )
item->ClearEditFlags(); item->ClearEditFlags();
if( unselect ) if( unselect )

View File

@ -224,10 +224,10 @@ void PCB_BASE_EDIT_FRAME::SaveCopyInUndoList( const PICKED_ITEMS_LIST& aItemsLis
clone->SetParent( GetBoard() ); clone->SetParent( GetBoard() );
// Clear current flags (which can be temporary set by a current edit command) // Clear current flags (which can be temporary set by a current edit command)
for( auto child : clone->GraphicalItems() ) for( BOARD_ITEM* child : clone->GraphicalItems() )
child->ClearEditFlags(); child->ClearEditFlags();
for( auto pad : clone->Pads() ) for( PAD* pad : clone->Pads() )
pad->ClearEditFlags(); pad->ClearEditFlags();
clone->Reference().ClearEditFlags(); clone->Reference().ClearEditFlags();