summaryrefslogtreecommitdiffstats
path: root/src/livarot/Shape.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 13:55:58 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 13:55:58 +0000
commit884fe02952017ac219cd23f9407d27ed4d8a8620 (patch)
treea86d66e240ae1e72007ba75b23757c71d5a9a28c /src/livarot/Shape.cpp
parentRun clang-tidy’s modernize-use-emplace pass. (diff)
downloadinkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.tar.gz
inkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.zip
Run clang-tidy’s modernize-redundant-void-arg pass.
Diffstat (limited to 'src/livarot/Shape.cpp')
-rw-r--r--src/livarot/Shape.cpp10
1 files changed, 5 insertions, 5 deletions
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<int>(_pts.size()), static_cast<int>(_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;