Fix improper string creation in fabmaster importer

This commit is contained in:
Ian McInerney 2021-01-18 18:12:45 +00:00
parent 1e33928b96
commit d030d1667b
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ BOARD* FABMASTER_PLUGIN::Load( const wxString &aFileName, BOARD *aAppendToMe,
if( !m_fabmaster.Read( aFileName.ToStdString() ) )
{
std::string readerr =
std::string readerr;
readerr = _( "Could not read file " ) + aFileName.ToStdString();
THROW_IO_ERROR( readerr );