From 40d8cb1a1996289f6224b17176373ffa1dfacae5 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 3 Jul 2020 11:12:50 +0100 Subject: [PATCH] Fix missing reference found in code review. --- pcbnew/kicad_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/kicad_plugin.cpp b/pcbnew/kicad_plugin.cpp index a1f65e071d..0c58a5f62a 100644 --- a/pcbnew/kicad_plugin.cpp +++ b/pcbnew/kicad_plugin.cpp @@ -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 primitive : aPad->GetPrimitives() ) + for( const std::shared_ptr& primitive : aPad->GetPrimitives() ) { m_out->Print( 0, "\n");