Part: modernize C++: use default member init

This commit is contained in:
wmayer
2023-08-22 23:18:03 +02:00
committed by wwmayer
parent 8c2e110bfb
commit bc8e9f5f29
27 changed files with 48 additions and 91 deletions

View File

@@ -45,12 +45,8 @@ using namespace PartGui;
class OffsetWidget::Private
{
public:
Ui_TaskOffset ui;
Part::Offset* offset;
Private() : offset(nullptr)
{
}
~Private() = default;
Ui_TaskOffset ui{};
Part::Offset* offset{nullptr};
};
/* TRANSLATOR PartGui::OffsetWidget */