Fix build error in linux
This commit is contained in:
parent
70fa76337f
commit
32738862b8
|
@ -59,7 +59,7 @@ void DRC_RULES_PARSER::initLayerMap()
|
||||||
std::string untranslated = TO_UTF8( wxString( LSET::Name( PCB_LAYER_ID( layer ) ) ) );
|
std::string untranslated = TO_UTF8( wxString( LSET::Name( PCB_LAYER_ID( layer ) ) ) );
|
||||||
m_layerMap[ untranslated ] = 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 );
|
m_layerMap[ userName ] = PCB_LAYER_ID( layer );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue