Salome HOME
#18963 Minimize compiler warnings
[modules/smesh.git] / src / SMESHUtils / SMESH_Triangulate.cxx
index 10a79c75044fbc4f5537c89c29cdc7ed720dd62c..149ce45b77eaab7504c4b4e7fef6d6443b0c6847 100644 (file)
@@ -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();