Surface: modernize C++: use equals default

This commit is contained in:
wmayer
2023-08-22 08:32:21 +02:00
committed by wwmayer
parent 9c1bc2e0e9
commit fecc939611
13 changed files with 3 additions and 41 deletions

View File

@@ -276,9 +276,7 @@ SectionsPanel::SectionsPanel(ViewProviderSections* vp, Surface::Sections* obj) :
/*
* Destroys the object and frees any allocated resources
*/
SectionsPanel::~SectionsPanel()
{
}
SectionsPanel::~SectionsPanel() = default;
void SectionsPanel::setupConnections()
{
@@ -590,11 +588,6 @@ TaskSections::TaskSections(ViewProviderSections* vp, Surface::Sections* obj)
Content.push_back(taskbox1);
}
TaskSections::~TaskSections()
{
// automatically deleted in the sub-class
}
void TaskSections::setEditedObject(Surface::Sections* obj)
{
widget1->setEditedObject(obj);