use emplace_back instead of push_back where justified
This commit is contained in:
@@ -141,7 +141,7 @@ void ViewProviderMeshTransformDemolding::calcNormalVector(void)
|
||||
const MeshGeomFacet& rFace = *cFIt;
|
||||
|
||||
Base::Vector3f norm(rFace.GetNormal());
|
||||
normalVector.push_back(SbVec3f(norm.x,norm.y,norm.z));
|
||||
normalVector.emplace_back(norm.x,norm.y,norm.z);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user