diff --git a/utils/kicad2step/kicad2step.cpp b/utils/kicad2step/kicad2step.cpp index 51d0eb57ef..9574d43eb4 100644 --- a/utils/kicad2step/kicad2step.cpp +++ b/utils/kicad2step/kicad2step.cpp @@ -296,7 +296,7 @@ int KICAD2MCAD::OnRun() if( !res ) return -1; } - catch( Standard_Failure e ) + catch( const Standard_Failure& e ) { e.Print( std::cerr ); return -1;