From 73425322767c2f592d097e30f793b34584c5dc2e Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 15 Aug 2020 13:10:23 +0100 Subject: [PATCH] Remove auto. --- pcbnew/class_module.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/class_module.cpp b/pcbnew/class_module.cpp index e759eb2fd8..a27f960219 100644 --- a/pcbnew/class_module.cpp +++ b/pcbnew/class_module.cpp @@ -1572,6 +1572,7 @@ double MODULE::CoverageRatio( const GENERAL_COLLECTOR& aCollector ) const extern bool ConvertOutlineToPolygon( std::vector& aSegList, SHAPE_POLY_SET& aPolygons, wxString* aErrorText, unsigned int aTolerance, wxPoint* aErrorLocation = nullptr ); + bool MODULE::BuildPolyCourtyard() { m_poly_courtyard_front.RemoveAllContours(); @@ -1582,7 +1583,7 @@ bool MODULE::BuildPolyCourtyard() std::vector< DRAWSEGMENT* > list_front; std::vector< DRAWSEGMENT* > list_back; - for( auto item : GraphicalItems() ) + for( BOARD_ITEM* item : GraphicalItems() ) { if( item->GetLayer() == B_CrtYd && item->Type() == PCB_MODULE_EDGE_T ) list_back.push_back( static_cast< DRAWSEGMENT* > ( item ) );