From ab38dfd7ae87691cef099ee3287b3142d89d113c Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 3 Jul 2021 19:47:58 -0400 Subject: [PATCH] Fix build --- pcbnew/plugins/kicad/kicad_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/plugins/kicad/kicad_plugin.cpp b/pcbnew/plugins/kicad/kicad_plugin.cpp index f344afd018..390ecc2db9 100644 --- a/pcbnew/plugins/kicad/kicad_plugin.cpp +++ b/pcbnew/plugins/kicad/kicad_plugin.cpp @@ -855,7 +855,7 @@ void PCB_IO::format( const PCB_SHAPE* aShape, int aNestLevel ) const } else { - SHAPE_ARC& arc = outline.Arc( ind ); + const SHAPE_ARC& arc = outline.Arc( ind ); m_out->Print( aNestLevel, "%s(arc (start %s) (mid %s) (end %s)", nestLevel ? "" : " ", FormatInternalUnits( arc.GetP0() ).c_str(),