From 5a5b61fa8085a8c5eec59614834cb882d1d778e2 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 18 Jun 2018 20:54:25 +0200 Subject: =?UTF-8?q?Run=20clang-tidy=E2=80=99s=20modernize-use-bool-literal?= =?UTF-8?q?s=20pass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes it clearer whether an integer or a boolean has to be passed in this specific call. --- src/livarot/ShapeMisc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/livarot/ShapeMisc.cpp') diff --git a/src/livarot/ShapeMisc.cpp b/src/livarot/ShapeMisc.cpp index f44a326ba..63700e1ba 100644 --- a/src/livarot/ShapeMisc.cpp +++ b/src/livarot/ShapeMisc.cpp @@ -163,7 +163,7 @@ Shape::ConvertToForme (Path * dest) } } } - while (1 /*swdData[curBord].precParc >= 0 */ ); + while (true /*swdData[curBord].precParc >= 0 */ ); // fin du cas non-oriente } } @@ -316,7 +316,7 @@ Shape::ConvertToForme (Path * dest, int nbP, Path * *orig, bool splitWhenForced) //printf("suite %d\n",curBord); } } - while (1 /*swdData[curBord].precParc >= 0 */ ); + while (true /*swdData[curBord].precParc >= 0 */ ); // fin du cas non-oriente } } @@ -527,7 +527,7 @@ Shape::ConvertToFormeNested (Path * dest, int nbP, Path * *orig, int /*wildPath* //printf("suite %d\n",curBord); } } - while (1 /*swdData[curBord].precParc >= 0 */ ); + while (true /*swdData[curBord].precParc >= 0 */ ); // fin du cas non-oriente } } -- cgit v1.2.3