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
23636: EDF 18217 - Problem when suppressing CAD
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_MeshGroup.cxx
diff --git
a/src/SMDS/SMDS_MeshGroup.cxx
b/src/SMDS/SMDS_MeshGroup.cxx
index e2f5fbccfa3750effcc0dc1a29fc7f709339be65..c41409c70e00e4702b347834f34c838d1cd0dae9 100644
(file)
--- a/
src/SMDS/SMDS_MeshGroup.cxx
+++ b/
src/SMDS/SMDS_MeshGroup.cxx
@@
-77,10
+77,11
@@
bool SMDS_MeshGroup::Add(const SMDS_MeshElement * theElem)
return false;
}
- myElements.insert( theElem );
+ bool added = myElements.insert( theElem ).second;
+
++myTic;
- return
true
;
+ return
added
;
}
//=======================================================================