const SMDS_MeshElement* next()

{
+    if ( !more() ) return 0;
This commit is contained in:
eap 2010-02-09 11:03:15 +00:00
parent 48378761b2
commit 1088385e70

View File

@ -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;