]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Remove warnings
authoradam <adam>
Thu, 30 Jul 2009 16:14:24 +0000 (16:14 +0000)
committeradam <adam>
Thu, 30 Jul 2009 16:14:24 +0000 (16:14 +0000)
src/OBJECT/SMESH_PreviewActorsCollection.h
src/SMESH_I/SMESH_Filter_i.cxx
src/SMESH_I/SMESH_Gen_i_1.cxx

index 857570ace40936129e8b18cf3189de6da85e6a54..c5b4c041a26c1d695b86fdc63811f33b93a3cd3e 100644 (file)
@@ -28,7 +28,7 @@
 #ifndef SMESH_PREVIEW_ACTOR_COLLECTION_H
 #define SMESH_PREVIEW_ACTOR_COLLECTION_H
 
-#include <SMESH_Actor.h>
+#include "SMESH_Actor.h"
 #include <GEOM_Actor.h>
 #include "SMESH_Object.h"
 #include <TopoDS_Shape.hxx>
index bd92ee2d49b6efc2d38c9c15dabd8d970759f655..40742a667a47a06723cd0b38c872cde6f903f473 100644 (file)
@@ -533,7 +533,7 @@ static TopoDS_Shape getShapeByID (const char* theID)
 
 static char* getShapeNameByID (const char* theID)
 {
-  char* aName = "";
+  char* aName = (char*)"";
 
   if (theID != 0 && theID != "") {
     SMESH_Gen_i* aSMESHGen = SMESH_Gen_i::GetSMESHGen();
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();