Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
23068: [CEA 1505] Be able to keep meshing in 2D after having merged the nodes in 1D
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESHDS_SubMesh.hxx
diff --git
a/src/SMESHDS/SMESHDS_SubMesh.hxx
b/src/SMESHDS/SMESHDS_SubMesh.hxx
index d583d29210366a12bdca0804e9f5ebacfe864aed..3460b8cdb61db4777a1667236b6cab309c26cde2 100644
(file)
--- a/
src/SMESHDS/SMESHDS_SubMesh.hxx
+++ b/
src/SMESHDS/SMESHDS_SubMesh.hxx
@@
-73,8
+73,8
@@
class SMESHDS_EXPORT SMESHDS_SubMesh
int getSize();
void compactList();
int getSize();
void compactList();
- SMESHDS_Mesh
*GetParent() { return myParent
; }
- int GetID() const { return myIndex; }
+ SMESHDS_Mesh
* GetParent() const { return const_cast< SMESHDS_Mesh*>( myParent )
; }
+ int GetID()
const { return myIndex; }
private:
SMESHDS_Mesh * myParent;
private:
SMESHDS_Mesh * myParent;