Don't make unneeded copies of std::pairs

This commit is contained in:
Seth Hillbrand 2023-02-03 15:28:53 +01:00
parent dde336ee40
commit b427ad80f6
1 changed files with 1 additions and 1 deletions

View File

@ -636,7 +636,7 @@ bool ZONE_FILLER::Fill( std::vector<ZONE*>& aZones, bool aCheck, wxWindow* aPare
if( ret.valid() )
{
for( auto action_item : ret.get() )
for( auto& action_item : ret.get() )
action_item.first->DeletePolygonAndTriangulationData( action_item.second, true );
}
}