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:
@@ -835,7 +835,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteExternRefs (const Handle(XSControl_
|
||||
}
|
||||
|
||||
// add extern ref
|
||||
const Standard_CString format = (const Standard_CString) ( schema == 3 ? "STEP AP203" : "STEP AP214" );
|
||||
const char* format = (schema == 3 ? "STEP AP203" : "STEP AP214");
|
||||
// try to get PD from SDR
|
||||
StepRepr_RepresentedDefinition RD = SDR->Definition();
|
||||
Handle(StepRepr_PropertyDefinition) aPropDef = RD.PropertyDefinition();
|
||||
|
Reference in New Issue
Block a user