mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Remove warnings
This commit is contained in:
parent
d61e132baa
commit
fc90840855
@ -28,7 +28,7 @@
|
|||||||
#ifndef SMESH_PREVIEW_ACTOR_COLLECTION_H
|
#ifndef SMESH_PREVIEW_ACTOR_COLLECTION_H
|
||||||
#define SMESH_PREVIEW_ACTOR_COLLECTION_H
|
#define SMESH_PREVIEW_ACTOR_COLLECTION_H
|
||||||
|
|
||||||
#include <SMESH_Actor.h>
|
#include "SMESH_Actor.h"
|
||||||
#include <GEOM_Actor.h>
|
#include <GEOM_Actor.h>
|
||||||
#include "SMESH_Object.h"
|
#include "SMESH_Object.h"
|
||||||
#include <TopoDS_Shape.hxx>
|
#include <TopoDS_Shape.hxx>
|
||||||
|
@ -533,7 +533,7 @@ static TopoDS_Shape getShapeByID (const char* theID)
|
|||||||
|
|
||||||
static char* getShapeNameByID (const char* theID)
|
static char* getShapeNameByID (const char* theID)
|
||||||
{
|
{
|
||||||
char* aName = "";
|
char* aName = (char*)"";
|
||||||
|
|
||||||
if (theID != 0 && theID != "") {
|
if (theID != 0 && theID != "") {
|
||||||
SMESH_Gen_i* aSMESHGen = SMESH_Gen_i::GetSMESHGen();
|
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
|
// Find submesh sub-tree tag
|
||||||
long aRootTag;
|
long aRootTag;
|
||||||
char* aRootName = "";
|
const char* aRootName = "";
|
||||||
switch ( theShapeObject->GetShapeType() ) {
|
switch ( theShapeObject->GetShapeType() ) {
|
||||||
case GEOM::VERTEX:
|
case GEOM::VERTEX:
|
||||||
aRootTag = GetSubMeshOnVertexTag();
|
aRootTag = GetSubMeshOnVertexTag();
|
||||||
|
Loading…
Reference in New Issue
Block a user