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 24aa185b3e
commit b6c0cf8ce5
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));
}
}