mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024893: CLang warnings -Wlogical-not-parentheses for gce_Done comparisons
Incorrect comparison in condition within RiseIf macro fixed
This commit is contained in:
@@ -158,7 +158,7 @@ GC_MakeArcOfCircle::GC_MakeArcOfCircle(const gp_Circ& Circ ,
|
||||
//=======================================================================
|
||||
const Handle(Geom_TrimmedCurve)& GC_MakeArcOfCircle::Value() const
|
||||
{
|
||||
StdFail_NotDone_Raise_if(!TheError == gce_Done,"");
|
||||
StdFail_NotDone_Raise_if(TheError != gce_Done,"");
|
||||
return TheArc;
|
||||
}
|
||||
//=======================================================================
|
||||
|
Reference in New Issue
Block a user