From ac2a1f09d823efe794f54124cd953c2f06f38927 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 6 Dec 2006 15:28:57 +0000 Subject: [PATCH] PAL13473 (Build repetitive mesh): prevent SIGSEGV in case if nodes have qual params on edge --- src/StdMeshers/StdMeshers_Quadrangle_2D.cxx | 2 +- src/StdMeshers/StdMeshers_Quadrangle_2D.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx index e20b1500e..fb24bf950 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx @@ -667,7 +667,7 @@ void StdMeshers_Quadrangle_2D::QuadDelete (FaceQuadStruct * quad) void StdMeshers_Quadrangle_2D::SetNormalizedGrid (SMESH_Mesh & aMesh, const TopoDS_Shape& aShape, - FaceQuadStruct* quad) throw (SALOME_Exception) + FaceQuadStruct* & quad) throw (SALOME_Exception) { Unexpect aCatch(SalomeException); // Algorithme décrit dans "Génération automatique de maillages" diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx index da1a677cd..769ed12f3 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx @@ -103,7 +103,7 @@ protected: void SetNormalizedGrid(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape, - FaceQuadStruct* quad) + FaceQuadStruct*& quad) throw (SALOME_Exception); /** -- 2.39.2