1
0
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:
ski
2014-04-16 15:59:21 +04:00
committed by abv
parent 26fd0d96ea
commit c29a9290af
11 changed files with 17 additions and 17 deletions

View File

@@ -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;
}

View File

@@ -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);
}
//=======================================================================