[TD] make pointers to the UI std::unique_ptr

as noted in https://github.com/FreeCAD/FreeCAD/pull/4271#discussion_r554673632
the pointer to the UI should be a unique pointer.

This PR does this for all TD dialogs that don't already use a unique_ptr.
This commit is contained in:
donovaly
2021-01-19 03:37:09 +01:00
committed by wwmayer
parent 4af6c5a13e
commit b5f57ed2f0
30 changed files with 15 additions and 30 deletions

View File

@@ -115,7 +115,6 @@ TaskCosVertex::TaskCosVertex(TechDraw::DrawViewPart* baseFeat,
TaskCosVertex::~TaskCosVertex()
{
delete ui;
}
void TaskCosVertex::updateTask()