Fix missing reference found in code review.

This commit is contained in:
Jeff Young 2020-07-03 11:12:50 +01:00
parent edecfaa433
commit 40d8cb1a19
1 changed files with 1 additions and 1 deletions

View File

@ -1347,7 +1347,7 @@ void PCB_IO::format( D_PAD* aPad, int aNestLevel ) const
int nested_level = aNestLevel+2;
// Output all basic shapes
for( const std::shared_ptr<DRAWSEGMENT> primitive : aPad->GetPrimitives() )
for( const std::shared_ptr<DRAWSEGMENT>& primitive : aPad->GetPrimitives() )
{
m_out->Print( 0, "\n");