Fix -Wcatch-value in kicad2step.cpp

This commit is contained in:
John Beard 2018-07-26 13:37:44 +01:00 committed by Wayne Stambaugh
parent 0c4828df12
commit a88831d7a9
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ int KICAD2MCAD::OnRun()
if( !res ) if( !res )
return -1; return -1;
} }
catch( Standard_Failure e ) catch( const Standard_Failure& e )
{ {
e.Print( std::cerr ); e.Print( std::cerr );
return -1; return -1;