mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0030611: Coding Rules - eliminate GCC compiler warnings -Wcatch-value
Add missing const& to catch statements.
This commit is contained in:
@@ -1129,7 +1129,7 @@ static Standard_Integer uniformAbscissa (Draw_Interpretor& di, Standard_Integer
|
||||
}
|
||||
}
|
||||
|
||||
catch (Standard_Failure )
|
||||
catch (Standard_Failure const&)
|
||||
{
|
||||
di << " Standard Failure \n";
|
||||
}
|
||||
@@ -1177,7 +1177,7 @@ static Standard_Integer EllipsUniformAbscissa (Draw_Interpretor& di, Standard_In
|
||||
DBRep::Set("Ellipse",edge_curve);
|
||||
}
|
||||
|
||||
catch(Standard_Failure)
|
||||
catch(Standard_Failure const&)
|
||||
{
|
||||
di << " Standard Failure \n";
|
||||
}
|
||||
@@ -1206,7 +1206,7 @@ static Standard_Integer EllipsUniformAbscissa (Draw_Interpretor& di, Standard_In
|
||||
}
|
||||
}
|
||||
|
||||
catch (Standard_Failure )
|
||||
catch (Standard_Failure const&)
|
||||
{
|
||||
di << " Standard Failure \n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user