Mod: modernize C++: use equals default

This commit is contained in:
wmayer
2023-08-21 19:34:33 +02:00
committed by wwmayer
parent 09a965d595
commit 142b86fde2
13 changed files with 15 additions and 55 deletions

View File

@@ -36,8 +36,6 @@ public:
initialize("This module is the Start module."); // register with Python
}
~Module() override {}
private:
};

View File

@@ -53,8 +53,6 @@ public:
initialize("This module is the StartGui module."); // register with Python
}
~Module() override {}
private:
};

View File

@@ -80,10 +80,7 @@ DlgStartPreferencesImp::DlgStartPreferencesImp( QWidget* parent )
/**
* Destroys the object and frees any allocated resources
*/
DlgStartPreferencesImp::~DlgStartPreferencesImp()
{
// no need to delete child widgets, Qt does it all for us
}
DlgStartPreferencesImp::~DlgStartPreferencesImp() = default;
void DlgStartPreferencesImp::saveSettings()
{

View File

@@ -42,13 +42,9 @@ using namespace StartGui;
TYPESYSTEM_SOURCE(StartGui::Workbench, Gui::StdWorkbench)
StartGui::Workbench::Workbench()
{
}
StartGui::Workbench::Workbench() = default;
StartGui::Workbench::~Workbench()
{
}
StartGui::Workbench::~Workbench() = default;
void StartGui::Workbench::activated()
{