Mod: redundant void 2

This commit is contained in:
berniev
2022-08-07 20:05:16 +10:00
committed by wwmayer
parent 311abcc43e
commit da9ebc572f
805 changed files with 3787 additions and 3787 deletions

View File

@@ -97,7 +97,7 @@ enum class EdgeColor {
// managing global line attributes
//===========================================================================
lineAttributes::lineAttributes(void)
lineAttributes::lineAttributes()
{
style = int(EdgeStyle::dotted);
width = int(EdgeWidth::middle);
@@ -114,7 +114,7 @@ void lineAttributes::setWidth(int newWidth)
width = newWidth;
}
float lineAttributes::getWidthValue(void)
float lineAttributes::getWidthValue()
{
switch(EdgeWidth(width)) {
case EdgeWidth::small:
@@ -136,7 +136,7 @@ void lineAttributes::setColor(int newColor)
color = newColor;
}
App::Color lineAttributes::getColorValue(void)
App::Color lineAttributes::getColorValue()
{
switch (EdgeColor(color)) {
case EdgeColor::black:
@@ -164,7 +164,7 @@ App::Color lineAttributes::getColorValue(void)
// managing global dimension attributes
//===========================================================================
dimAttributes::dimAttributes(void)
dimAttributes::dimAttributes()
{
cascadeSpacing = 7.0;
lineStretch = 2.0;