modernize C++: use bool literals

This commit is contained in:
wmayer
2023-08-05 23:44:44 +02:00
committed by wwmayer
parent 5be3ad33aa
commit 7a3106d31b
25 changed files with 46 additions and 46 deletions

View File

@@ -2203,7 +2203,7 @@ TopoDS_Shape Area::toShape(const CCurve& _c, const gp_Trsf* trsf, int reorient)
double r = center.Distance(pt);
double r2 = center.Distance(pnext);
bool fix_arc = fabs(r - r2) > Precision::Confusion();
while (1) {
while (true) {
if (fix_arc) {
double d = pt.Distance(pnext);
double rr = r * r;