use emplace_back instead of push_back where justified

This commit is contained in:
asapelkin
2019-10-25 00:57:12 +03:00
committed by wmayer
parent 079808b816
commit e951094af9
67 changed files with 239 additions and 241 deletions

View File

@@ -139,7 +139,7 @@ static CArea AreaFromDxf(const char* filepath)
static void append_point(CCurve& c, const Point& p)
{
c.m_vertices.push_back(CVertex(p));
c.m_vertices.emplace_back(p);
}
static boost::python::tuple nearest_point_to_curve(CCurve& c1, const CCurve& c2)