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