Part: modernize C++: use equals default
This commit is contained in:
@@ -1805,9 +1805,7 @@ DlgPrimitives::DlgPrimitives(QWidget* parent, Part::Primitive* feature)
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgPrimitives::~DlgPrimitives()
|
||||
{
|
||||
}
|
||||
DlgPrimitives::~DlgPrimitives() = default;
|
||||
|
||||
void DlgPrimitives::activatePage()
|
||||
{
|
||||
@@ -2199,11 +2197,6 @@ TaskPrimitives::TaskPrimitives()
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskPrimitives::~TaskPrimitives()
|
||||
{
|
||||
// automatically deleted in the sub-class
|
||||
}
|
||||
|
||||
QDialogButtonBox::StandardButtons TaskPrimitives::getStandardButtons() const
|
||||
{
|
||||
return QDialogButtonBox::Close|
|
||||
@@ -2247,11 +2240,6 @@ TaskPrimitivesEdit::TaskPrimitivesEdit(Part::Primitive* feature)
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
TaskPrimitivesEdit::~TaskPrimitivesEdit()
|
||||
{
|
||||
// automatically deleted in the sub-class
|
||||
}
|
||||
|
||||
QDialogButtonBox::StandardButtons TaskPrimitivesEdit::getStandardButtons() const
|
||||
{
|
||||
return QDialogButtonBox::Cancel |
|
||||
|
||||
Reference in New Issue
Block a user