]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH_I/SMESH_Gen_i_1.cxx
Salome HOME
Another fix like previous one.
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i_1.cxx
index bcd0cc91bf2620721d56f63d83484d4e3d33f115..a001e6a83d4513286831cadd7bfcda906e9f1e4d 100644 (file)
@@ -588,7 +588,7 @@ SALOMEDS::SObject_ptr SMESH_Gen_i::PublishSubMesh (SALOMEDS::Study_ptr      theS
     }
     // Find submesh sub-tree tag
     long aRootTag;
-    char* aRootName = "";
+    const char* aRootName = "";
     switch ( theShapeObject->GetShapeType() ) {
     case GEOM::VERTEX:
       aRootTag  = GetSubMeshOnVertexTag();