RE: modernize C++: use equals default

This commit is contained in:
wmayer
2023-08-22 11:38:29 +02:00
committed by wwmayer
parent 1ac09bccc3
commit f336ebd1e6
12 changed files with 12 additions and 55 deletions

View File

@@ -65,9 +65,7 @@ Segmentation::Segmentation(Mesh::Feature* mesh, QWidget* parent, Qt::WindowFlags
ui->checkBoxSmooth->setChecked(false);
}
Segmentation::~Segmentation()
{
}
Segmentation::~Segmentation() = default;
void Segmentation::accept()
{
@@ -260,11 +258,6 @@ TaskSegmentation::TaskSegmentation(Mesh::Feature* mesh)
Content.push_back(taskbox);
}
TaskSegmentation::~TaskSegmentation()
{
// automatically deleted in the sub-class
}
bool TaskSegmentation::accept()
{
widget->accept();