Sketcher: Fix · · ·

532547 Variable copied when it could be moved
This commit is contained in:
Benjamin Nauck
2025-04-11 09:09:31 +02:00
parent a8db75a35e
commit 2b6c9f7d92

View File

@@ -9262,7 +9262,7 @@ const std::vector<std::map<int, Sketcher::PointPos>> SketchObject::getCoincidenc
std::map<int, Sketcher::PointPos> tmp;
tmp.insert(std::pair<int, Sketcher::PointPos>(constr->First, constr->FirstPos));
tmp.insert(std::pair<int, Sketcher::PointPos>(constr->Second, constr->SecondPos));
coincidenttree.push_back(tmp);
coincidenttree.push_back(std::move(tmp));
}
else if (firstpresentin != -1) {
// add to existing group