mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
const SMDS_MeshElement* next()
{ + if ( !more() ) return 0;
This commit is contained in:
parent
48378761b2
commit
1088385e70
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user