Part: modernize C++: use equals default

This commit is contained in:
wmayer
2023-08-22 13:28:42 +02:00
committed by wwmayer
parent 622e46771e
commit b9e9fe435a
103 changed files with 215 additions and 718 deletions

View File

@@ -75,9 +75,7 @@ Primitive::Primitive()
touch();
}
Primitive::~Primitive()
{
}
Primitive::~Primitive() = default;
short Primitive::mustExecute() const
{
@@ -170,9 +168,7 @@ Vertex::Vertex()
ADD_PROPERTY(Z,(0.0f));
}
Vertex::~Vertex()
{
}
Vertex::~Vertex() = default;
short Vertex::mustExecute() const
{
@@ -225,9 +221,7 @@ Line::Line()
ADD_PROPERTY_TYPE(Z2,(1.0),"Vertex 2 - Finish",App::Prop_None,"Z value of the finish vertex");
}
Line::~Line()
{
}
Line::~Line() = default;
short Line::mustExecute() const
{
@@ -988,9 +982,7 @@ Ellipse::Ellipse()
Angle2.setConstraints(&angleRange);
}
Ellipse::~Ellipse()
{
}
Ellipse::~Ellipse() = default;
short Ellipse::mustExecute() const
{