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:
4837876
)
const SMDS_MeshElement* next()
author
eap
<eap@opencascade.com>
Tue, 9 Feb 2010 11:03:15 +0000
(11:03 +0000)
committer
eap
<eap@opencascade.com>
Tue, 9 Feb 2010 11:03:15 +0000
(11:03 +0000)
{
+ if ( !more() ) return 0;
src/SMDS/SMDS_MeshNode.cxx
patch
|
blob
|
history
diff --git
a/src/SMDS/SMDS_MeshNode.cxx
b/src/SMDS/SMDS_MeshNode.cxx
index ceaf3986fe6186bead4fe53bf9e4f765cf1db0a5..1a589b0395a9511ed42f9d479da2502062c6e572 100644
(file)
--- a/
src/SMDS/SMDS_MeshNode.cxx
+++ b/
src/SMDS/SMDS_MeshNode.cxx
@@
-117,6
+117,7
@@
class SMDS_MeshNode_MyInvIterator:public SMDS_ElemIterator
const SMDS_MeshElement* next()
{
+ if ( !more() ) return 0;
const SMDS_MeshElement* current=myIterator.Value();
myIterator.Next();
return current;