X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHUtils%2FSMESH_Triangulate.cxx;fp=src%2FSMESHUtils%2FSMESH_Triangulate.cxx;h=149ce45b77eaab7504c4b4e7fef6d6443b0c6847;hb=242fecaab114e7ad3b26ec3096d016e8e1342697;hp=10a79c75044fbc4f5537c89c29cdc7ed720dd62c;hpb=9b08e00e6ab80e13cffcda319be3baf22a829bcf;p=modules%2Fsmesh.git diff --git a/src/SMESHUtils/SMESH_Triangulate.cxx b/src/SMESHUtils/SMESH_Triangulate.cxx index 10a79c750..149ce45b7 100644 --- a/src/SMESHUtils/SMESH_Triangulate.cxx +++ b/src/SMESHUtils/SMESH_Triangulate.cxx @@ -380,7 +380,7 @@ bool Triangulate::triangulate( std::vector< const SMDS_MeshNode*>& nodes, try { axes = gp_Ax2( p0, normal, v01 ); } - catch ( Standard_Failure ) { + catch ( Standard_Failure& ) { return false; } double factor = 1.0, modulus = normal.Modulus();