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