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

Same as PR #4293, just for Sketcher

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 Sketcher dialogs that don't already use a unique_ptr.
This commit is contained in:
donovaly
2021-02-04 04:41:06 +01:00
committed by wwmayer
parent 6db7737547
commit 28c66fc501
10 changed files with 17 additions and 22 deletions

View File

@@ -342,7 +342,6 @@ TaskSketcherElements::~TaskSketcherElements()
}
connectionElementsChanged.disconnect();
delete ui;
}
void TaskSketcherElements::onSelectionChanged(const Gui::SelectionChanges& msg)