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:
@@ -587,7 +587,7 @@ Standard_Boolean LocOpe_SplitShape::Add(const TopoDS_Wire& W,
|
||||
if(!AddClosedWire(W,F))
|
||||
return Standard_False;
|
||||
}
|
||||
} catch (Standard_Failure ) {
|
||||
} catch (Standard_Failure const&) {
|
||||
#ifdef OCCT_DEBUG
|
||||
cout << "Warning: SpliShape internal problem detected, some faces may be lost. Check input edges/wires" <<endl;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user