Part: modernize C++: use equals default
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user