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

@@ -56,9 +56,7 @@ SegmentationManual::SegmentationManual(QWidget* parent, Qt::WindowFlags fl)
meshSel.setEnabledViewerSelection(false);
}
SegmentationManual::~SegmentationManual()
{
}
SegmentationManual::~SegmentationManual() = default;
void SegmentationManual::setupConnections()
{
@@ -322,11 +320,6 @@ TaskSegmentationManual::TaskSegmentationManual()
Content.push_back(taskbox);
}
TaskSegmentationManual::~TaskSegmentationManual()
{
// automatically deleted in the sub-class
}
void TaskSegmentationManual::modifyStandardButtons(QDialogButtonBox* box)
{
QPushButton* btn = box->button(QDialogButtonBox::Ok);