Remove warnings

This commit is contained in:
adam 2009-07-30 16:14:24 +00:00
parent d61e132baa
commit fc90840855
3 changed files with 3 additions and 3 deletions

View 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>

View 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();

View 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();