mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 08:20:34 +05:00
Remove warnings
This commit is contained in:
parent
d61e132baa
commit
fc90840855
@ -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>
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user