Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f15129e
)
Fix using of std::set::const_iterator as agrument of set::erase method.
V4_1_4
V4_1_4sp1
V4_1_4sp2
author
abd
<abd@opencascade.com>
Wed, 3 Dec 2008 09:35:52 +0000
(09:35 +0000)
committer
abd
<abd@opencascade.com>
Wed, 3 Dec 2008 09:35:52 +0000
(09:35 +0000)
It's incompatible with MS compiler.
src/SMDS/SMDS_MeshGroup.cxx
patch
|
blob
|
history
diff --git
a/src/SMDS/SMDS_MeshGroup.cxx
b/src/SMDS/SMDS_MeshGroup.cxx
index 77a5ef285aaa498065a3fdbca91ac1c977c820b8..67c1df42616525e0e5abb2eb4412faf75ecfef33 100644
(file)
--- a/
src/SMDS/SMDS_MeshGroup.cxx
+++ b/
src/SMDS/SMDS_MeshGroup.cxx
@@
-139,7
+139,8
@@
void SMDS_MeshGroup::Add(const SMDS_MeshElement * theElem)
bool SMDS_MeshGroup::Remove(const SMDS_MeshElement * theElem)
{
- TIterator found = myElements.find(theElem);
+ std::set<const SMDS_MeshElement *>::iterator found
+ = myElements.find(theElem);
if ( found != myElements.end() ) {
myElements.erase(found);
if (myElements.empty()) myType = SMDSAbs_All;