1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Coding - GCC13 warning suppressing #96

This commit is contained in:
dpasukhi
2024-10-12 16:26:32 +00:00
parent 858709699a
commit 55527ad756
6 changed files with 24 additions and 10 deletions

View File

@@ -1303,7 +1303,7 @@ static Standard_Boolean IsOverriden(const Interface_Graph& theGraph,
return Standard_True;
}
// for root style returns true only if it is overridden by other root style
const Handle(Standard_Transient)& anItem = anOverRidingStyle->ItemAP242().Value();
const Handle(Standard_Transient) anItem = anOverRidingStyle->ItemAP242().Value();
if(!anItem.IsNull() && anItem->IsKind(STANDARD_TYPE(StepShape_ShapeRepresentation)))
{
return Standard_True;