Fix clang compiler warnings:
+ fix -Winconsistent-missing-override + fix -Wpessimizing-move (Geometry::clone: moving a temporary object prevents copy elision -> remove std::move call here)
This commit is contained in:
@@ -628,9 +628,9 @@ void DlgFilletEdges::setupFillet(const std::vector<App::DocumentObject*>& objs)
|
||||
|
||||
App::Document* doc = d->object->getDocument();
|
||||
// get current selection and their sub-elements
|
||||
std::vector<Gui::SelectionObject> selObj = Gui::Selection().getSelectionEx(doc->getName());
|
||||
std::vector<Gui::SelectionObject>::iterator selIt = std::find_if(selObj.begin(), selObj.end(),
|
||||
Private::SelectionObjectCompare(d->object));
|
||||
//std::vector<Gui::SelectionObject> selObj = Gui::Selection().getSelectionEx(doc->getName());
|
||||
//std::vector<Gui::SelectionObject>::iterator selIt = std::find_if(selObj.begin(), selObj.end(),
|
||||
// Private::SelectionObjectCompare(d->object));
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user