Remove auto.

This commit is contained in:
Jeff Young 2020-08-15 13:10:23 +01:00
parent 4410df50a8
commit 7342532276
1 changed files with 2 additions and 1 deletions

View File

@ -1572,6 +1572,7 @@ double MODULE::CoverageRatio( const GENERAL_COLLECTOR& aCollector ) const
extern bool ConvertOutlineToPolygon( std::vector<DRAWSEGMENT*>& 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 ) );