Prevent unneeded copy

This commit is contained in:
Seth Hillbrand 2025-05-14 10:05:34 -07:00
parent 3fdc576422
commit b2cfcd567e

View File

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