From 884fe02952017ac219cd23f9407d27ed4d8a8620 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 19 Jun 2018 15:55:58 +0200 Subject: =?UTF-8?q?Run=20clang-tidy=E2=80=99s=20modernize-redundant-void-a?= =?UTF-8?q?rg=20pass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/livarot/Shape.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/livarot/Shape.cpp') diff --git a/src/livarot/Shape.cpp b/src/livarot/Shape.cpp index 87af8423d..55ed6f08b 100644 --- a/src/livarot/Shape.cpp +++ b/src/livarot/Shape.cpp @@ -48,14 +48,14 @@ Shape::Shape() type = shape_polygon; } -Shape::~Shape (void) +Shape::~Shape () { maxPt = 0; maxAr = 0; free(qrsData); } -void Shape::Affiche(void) +void Shape::Affiche() { printf("sh=%p nbPt=%i nbAr=%i\n", this, static_cast(_pts.size()), static_cast(_aretes.size())); // localizing ok for (unsigned int i=0; i<_pts.size(); i++) { @@ -533,7 +533,7 @@ Shape::SwapPoints (int a, int b, int c) } void -Shape::SortPoints (void) +Shape::SortPoints () { if (_need_points_sorting && hasPoints()) SortPoints (0, numberOfPoints() - 1); @@ -541,7 +541,7 @@ Shape::SortPoints (void) } void -Shape::SortPointsRounded (void) +Shape::SortPointsRounded () { if (hasPoints()) SortPointsRounded (0, numberOfPoints() - 1); @@ -1479,7 +1479,7 @@ Shape::SwapEdges (int a, int b, int c) } void -Shape::SortEdges (void) +Shape::SortEdges () { if (_need_edges_sorting == false) { return; -- cgit v1.2.3