Path.Area: minor optimization

This commit is contained in:
Zheng, Lei
2018-11-06 17:14:12 +08:00
committed by Yorik van Havre
parent a345669b38
commit f2ddb64fa1
4 changed files with 14 additions and 8 deletions

View File

@@ -448,7 +448,7 @@ void Area::addWire(CArea &area, const TopoDS_Wire& wire,
AREA_WARN("ccurve not closed");
ccurve.append(ccurve.m_vertices.front());
}
area.append(ccurve);
area.move(std::move(ccurve));
}
}