Salome HOME
Add "const char* name" argument to consrtucctor of SMESH_subMeshEventListener
[modules/smesh.git] / src / StdMeshers / StdMeshers_Penta_3D.cxx
index 3025b1bf963e1bfdd97015bd35338c60e15a9b88..fd52d5877352163c3377aafbf17849635f493ab6 100644 (file)
@@ -849,7 +849,8 @@ void StdMeshers_Penta_3D::MakeMeshOnFxy1()
   // assure that mesh on the top face will be cleaned when it is cleaned
   // on the bottom face
   SMESH_subMesh* volSM = pMesh->GetSubMesh( myTool->GetSubShape() );
-  volSM->SetEventListener( new SMESH_subMeshEventListener(true),
+  volSM->SetEventListener( new SMESH_subMeshEventListener(true, // deletable by SMESH_subMesh
+                                                          "StdMeshers_Penta_3D"),
                            SMESH_subMeshEventListenerData::MakeData( aSubMesh1 ),
                            aSubMesh0 ); // translate CLEAN event of aSubMesh0 to aSubMesh1
 }