X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHUtils%2FSMESH_Triangulate.cxx;h=149ce45b77eaab7504c4b4e7fef6d6443b0c6847;hp=10a79c75044fbc4f5537c89c29cdc7ed720dd62c;hb=cb55604f37e3d2583272fd436bb6557b041948b5;hpb=4039f267f1074db87ed73e03bd51ac77b66611e0;ds=sidebyside 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();