Fix build error in linux

This commit is contained in:
Seth Hillbrand 2020-06-18 09:52:04 -07:00
parent 70fa76337f
commit 32738862b8
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ void DRC_RULES_PARSER::initLayerMap()
std::string untranslated = TO_UTF8( wxString( LSET::Name( PCB_LAYER_ID( layer ) ) ) );
m_layerMap[ untranslated ] = PCB_LAYER_ID( layer );
std::string userName = m_board->GetLayerName( PCB_LAYER_ID( layer ) );
std::string userName = m_board->GetLayerName( PCB_LAYER_ID( layer ) ).ToStdString();
m_layerMap[ userName ] = PCB_LAYER_ID( layer );
}
}