1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +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:
abv
2014-05-03 08:58:18 +04:00
committed by bugmaster
parent 7ccd27ca04
commit 82fc327c7d
39 changed files with 39 additions and 39 deletions

View File

@@ -119,7 +119,7 @@ GC_MakePlane::GC_MakePlane(const gp_Ax1& Axis ) {
const Handle(Geom_Plane)& GC_MakePlane::Value() const
{
StdFail_NotDone_Raise_if(!TheError == gce_Done,"");
StdFail_NotDone_Raise_if(TheError != gce_Done,"");
return ThePlane;
}