mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Prevent unneeded copy
This commit is contained in:
parent
3fdc576422
commit
b2cfcd567e
@ -327,7 +327,7 @@ void GERBVIEW_FRAME::updateDCodeSelectBox()
|
||||
wxASSERT_MSG( false, wxT( "Invalid units" ) );
|
||||
}
|
||||
|
||||
for( const auto [_, dcode] : gerber->m_ApertureList )
|
||||
for( const auto& [_, dcode] : gerber->m_ApertureList )
|
||||
{
|
||||
wxCHECK2( dcode,continue );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user