mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024818: CLang warnings -Wlogical-not-parentheses
CLang warnings -Wlogical-not-parentheses were fixed.
This commit is contained in:
@@ -1145,7 +1145,7 @@ Standard_Boolean AIS_Dimension::InitCircularDimension (const TopoDS_Shape& theSh
|
||||
}
|
||||
|
||||
BRepAdaptor_Curve anAdaptedCurve (anEdge);
|
||||
if (!anAdaptedCurve.GetType() == GeomAbs_Circle)
|
||||
if (anAdaptedCurve.GetType() != GeomAbs_Circle)
|
||||
{
|
||||
return Standard_False;
|
||||
}
|
||||
|
@@ -89,7 +89,7 @@ void AIS_MultipleConnectedInteractive::Connect(const Handle(AIS_InteractiveObjec
|
||||
//=======================================================================
|
||||
Standard_Boolean AIS_MultipleConnectedInteractive::HasConnection() const
|
||||
{
|
||||
return (!myReferences.Length()==0);
|
||||
return (myReferences.Length() != 0);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Reference in New Issue
Block a user