mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 05:28:47 +08:00
0030611: Coding Rules - eliminate GCC compiler warnings -Wcatch-value
Add missing const& to catch statements.
This commit is contained in:
@@ -489,7 +489,7 @@ void BRepOffsetAPI_ThruSections::Build()
|
||||
CreateSmoothed();
|
||||
}
|
||||
}
|
||||
catch (Standard_Failure)
|
||||
catch (Standard_Failure const&)
|
||||
{
|
||||
NotDone();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user